z00mP commited on
Commit
98a9e92
1 Parent(s): b3c801a

fix unnecessary row

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def bot(history, api_kind, chunk_table, embedding_model, llm_model, cross_encode
78
  #elif api_kind == "OpenAI":
79
  # generate_fn = generate_openai
80
  #else:
81
- raise gr.Error(f"API {api_kind} is not supported")
82
 
83
  history[-1][1] = ""
84
  for character in generate_fn(prompt, history[:-1], llm_model):
 
78
  #elif api_kind == "OpenAI":
79
  # generate_fn = generate_openai
80
  #else:
81
+ # raise gr.Error(f"API {api_kind} is not supported")
82
 
83
  history[-1][1] = ""
84
  for character in generate_fn(prompt, history[:-1], llm_model):