Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ def getstuff(openapikey,category_selector):
|
|
47 |
response_mode="tree_summarize",
|
48 |
similarity_top_k=int(len(documents)/3)
|
49 |
)
|
|
|
50 |
if 'dataframe' in querylist[i]:
|
51 |
df_tmp=pd.read_json(response.response)
|
52 |
df=pd.DataFrame(df_tmp[df_tmp.columns[0]].tolist())
|
|
|
47 |
response_mode="tree_summarize",
|
48 |
similarity_top_k=int(len(documents)/3)
|
49 |
)
|
50 |
+
print(response.response)
|
51 |
if 'dataframe' in querylist[i]:
|
52 |
df_tmp=pd.read_json(response.response)
|
53 |
df=pd.DataFrame(df_tmp[df_tmp.columns[0]].tolist())
|