Spaces:
Runtime error
Runtime error
fix missing arg
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ with gr.Blocks() as demo:
|
|
177 |
|
178 |
# Turn off interactivity while generating if you hit enter
|
179 |
txt_msg = txt.submit(add_text, [chatbot, txt], [chatbot, txt], queue=False).then(
|
180 |
-
bot, [chatbot, model_name,
|
181 |
reranker_enabled,reranker_kind,num_prerank_docs,
|
182 |
num_docs, emb_model_kind, sub_vector_size, chunk_size, splitter_type
|
183 |
], [chatbot, prompt_html])
|
|
|
177 |
|
178 |
# Turn off interactivity while generating if you hit enter
|
179 |
txt_msg = txt.submit(add_text, [chatbot, txt], [chatbot, txt], queue=False).then(
|
180 |
+
bot, [chatbot, model_name, oepnai_api_key,
|
181 |
reranker_enabled,reranker_kind,num_prerank_docs,
|
182 |
num_docs, emb_model_kind, sub_vector_size, chunk_size, splitter_type
|
183 |
], [chatbot, prompt_html])
|