Spaces:
Running
Running
Jeff Myers II
commited on
Commit
·
fc86949
1
Parent(s):
c281678
Completed Prototype
Browse files
app.py
CHANGED
@@ -249,8 +249,8 @@ with gr.Blocks() as demo:
|
|
249 |
evaluation += f"\n\t{i + 1}: Correct!"
|
250 |
else: evaluation += f"\n\t{i + 1}: Incorrect."
|
251 |
|
252 |
-
results /= len(answers)
|
253 |
evaluation = f"You got {results} out of {len(answers)} correct.\n" + evaluation
|
|
|
254 |
|
255 |
if 0.9 <= results <= 1.0: evaluation = f"Excellent! " + evaluation
|
256 |
elif 0.8 <= results < 0.9: evaluation = f"Great job! " + evaluation
|
|
|
249 |
evaluation += f"\n\t{i + 1}: Correct!"
|
250 |
else: evaluation += f"\n\t{i + 1}: Incorrect."
|
251 |
|
|
|
252 |
evaluation = f"You got {results} out of {len(answers)} correct.\n" + evaluation
|
253 |
+
results /= len(answers)
|
254 |
|
255 |
if 0.9 <= results <= 1.0: evaluation = f"Excellent! " + evaluation
|
256 |
elif 0.8 <= results < 0.9: evaluation = f"Great job! " + evaluation
|