Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ with gr.Blocks() as demo:
|
|
181 |
submit_feedback = gr.Button(value="Submit Feedback")
|
182 |
|
183 |
# Function to handle question submission and display responses
|
184 |
-
submit_btn.click(fn=compare_models, inputs=[question_input])
|
185 |
|
186 |
# Function to handle feedback submission and update data display
|
187 |
submit_feedback.click(fn=add_review, inputs=[question_input, rag_output, graphrag_output, feedback])
|
|
|
181 |
submit_feedback = gr.Button(value="Submit Feedback")
|
182 |
|
183 |
# Function to handle question submission and display responses
|
184 |
+
submit_btn.click(fn=compare_models, inputs=[question_input], outputs=[rag_output, graphrag_output])
|
185 |
|
186 |
# Function to handle feedback submission and update data display
|
187 |
submit_feedback.click(fn=add_review, inputs=[question_input, rag_output, graphrag_output, feedback])
|