Spaces:
Sleeping
Sleeping
fix unnecessary row
Browse files
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 |
-
|
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):
|