Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,12 +74,8 @@ 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
|
| 78 |
-
|
| 79 |
-
"Majority-Voted Answer": final_answer,
|
| 80 |
-
"Steps to Solve": steps_solution,
|
| 81 |
-
"Correct Solution": correct_answer
|
| 82 |
-
}
|
| 83 |
|
| 84 |
# Custom CSS for enhanced design (unchanged)
|
| 85 |
custom_css = """
|
|
|
|
| 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)
|
| 81 |
custom_css = """
|