pavvloff commited on
Commit
e2383a6
1 Parent(s): 997ccaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(output[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])
49
 
50
  def bot(history, api_kind, table_name, openai_key, rerank):
51
  top_k_rank = 4