Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,8 @@ if uploaded_file is not None:
|
|
33 |
params = {"HOA_USERINPUT": qs}
|
34 |
temp_result = get_tianshu_response(params)
|
35 |
try:
|
|
|
|
|
36 |
result = json.loads(temp_result)
|
37 |
except json.JSONDecodeError:
|
38 |
result = {"类别": '', "模块": '', "问题归类": ''}
|
|
|
33 |
params = {"HOA_USERINPUT": qs}
|
34 |
temp_result = get_tianshu_response(params)
|
35 |
try:
|
36 |
+
print(temp_result)
|
37 |
+
print(type(temp_result))
|
38 |
result = json.loads(temp_result)
|
39 |
except json.JSONDecodeError:
|
40 |
result = {"类别": '', "模块": '', "问题归类": ''}
|