Makima57 commited on
Commit
246a616
·
verified ·
1 Parent(s): 4890923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def majority_vote_with_steps(question, num_iterations=10):
74
  # Gradio interface for user input and output
75
  def gradio_interface(question, correct_answer):
76
  final_answer, steps_solution = majority_vote_with_steps(question, iterations)
77
- return "Question": question, "Majority-Voted Answer": final_answer, "Steps to Solve": steps_solution, "Correct Solution": correct_answer
78
 
79
 
80
  # Custom CSS for enhanced design (unchanged)
 
74
  # Gradio interface for user input and output
75
  def gradio_interface(question, correct_answer):
76
  final_answer, steps_solution = majority_vote_with_steps(question, iterations)
77
+ return question, final_answer, steps_solution, correct_answer
78
 
79
 
80
  # Custom CSS for enhanced design (unchanged)