Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ with gr.Blocks() as app:
|
|
231 |
submit_button = gr.Button("Submit", icon="send")
|
232 |
|
233 |
# Apply the logic for the button to trigger the RAG pipeline
|
234 |
-
submit_button.click(rag_pipeline, inputs=[file_input, question_input
|
235 |
|
236 |
# Launch the app
|
237 |
app.launch()
|
|
|
231 |
submit_button = gr.Button("Submit", icon="send")
|
232 |
|
233 |
# Apply the logic for the button to trigger the RAG pipeline
|
234 |
+
submit_button.click(rag_pipeline, inputs=[file_input, question_input], outputs=output)
|
235 |
|
236 |
# Launch the app
|
237 |
app.launch()
|