Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def api_call(history, api_kind, table_name, openai_key, rerank):
|
|
45 |
last = None
|
46 |
for output in bot(history, api_kind, table_name, openai_key, rerank):
|
47 |
last = output
|
48 |
-
return str(last[0][0][1])
|
49 |
|
50 |
def bot(history, api_kind, table_name, openai_key, rerank):
|
51 |
top_k_rank = 4
|
|
|
45 |
last = None
|
46 |
for output in bot(history, api_kind, table_name, openai_key, rerank):
|
47 |
last = output
|
48 |
+
return str(last[0][0][1])[:60000]
|
49 |
|
50 |
def bot(history, api_kind, table_name, openai_key, rerank):
|
51 |
top_k_rank = 4
|