Gampanut commited on
Commit
1929009
1 Parent(s): 98c777a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])