Update app.py
Browse files
app.py
CHANGED
|
@@ -203,7 +203,7 @@ with gr.Blocks(title="Group 5 Study Helper (RAG)") as demo:
|
|
| 203 |
return msg, n or 0
|
| 204 |
|
| 205 |
build_btn.click(_build, inputs=[file_in], outputs=[status, chunk_count])
|
| 206 |
-
evt = ask_btn.click(lambda: "⏳ Processing…", inputs=None, outputs=answer)
|
| 207 |
evt.then(answer_question, inputs=[question, topk, max_tokens], outputs=answer)
|
| 208 |
|
| 209 |
reset_btn.click(
|
|
|
|
| 203 |
return msg, n or 0
|
| 204 |
|
| 205 |
build_btn.click(_build, inputs=[file_in], outputs=[status, chunk_count])
|
| 206 |
+
evt = ask_btn.click(lambda: "⏳ Processing … this might take a minute (we're on the free tier)", inputs=None, outputs=answer)
|
| 207 |
evt.then(answer_question, inputs=[question, topk, max_tokens], outputs=answer)
|
| 208 |
|
| 209 |
reset_btn.click(
|