Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -470,7 +470,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
470 |
#history,
|
471 |
rag_option,
|
472 |
model_option,
|
473 |
-
|
474 |
#top_p,
|
475 |
#temperature,
|
476 |
#max_length_tokens,
|
@@ -491,7 +491,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
491 |
|
492 |
predict_event1 = user_input.submit(fn=add_text, inputs=[chatbot, user_input], outputs=[chatbot, user_input], queue=False,).then(**predict_args)
|
493 |
predict_event3 = btn.upload(add_file, [chatbot, btn, user_input], [chatbot, user_input],queue=False,).then(**predict_args)
|
494 |
-
predict_event2 = submitBtn.click(
|
495 |
|
496 |
cancelBtn.click(
|
497 |
cancel_outputing, [], [status_display],
|
|
|
470 |
#history,
|
471 |
rag_option,
|
472 |
model_option,
|
473 |
+
anzahl_docs,
|
474 |
#top_p,
|
475 |
#temperature,
|
476 |
#max_length_tokens,
|
|
|
491 |
|
492 |
predict_event1 = user_input.submit(fn=add_text, inputs=[chatbot, user_input], outputs=[chatbot, user_input], queue=False,).then(**predict_args)
|
493 |
predict_event3 = btn.upload(add_file, [chatbot, btn, user_input], [chatbot, user_input],queue=False,).then(**predict_args)
|
494 |
+
predict_event2 = submitBtn.click(fn=add_text, inputs=[chatbot, user_input], outputs=[chatbot, user_input], queue=False,).then(**predict_args)
|
495 |
|
496 |
cancelBtn.click(
|
497 |
cancel_outputing, [], [status_display],
|