Spaces:
Running
Running
Jeff Myers II
commited on
Commit
·
e907e09
1
Parent(s):
19fd0c4
Completed Prototype
Browse files
app.py
CHANGED
@@ -246,8 +246,8 @@ with gr.Blocks() as demo:
|
|
246 |
for i, (ans, resp) in enumerate(zip(answers, response)):
|
247 |
if ans == resp:
|
248 |
results += 1
|
249 |
-
evaluation += f"\n\t{i + 1}:
|
250 |
-
else: evaluation += f"\n\t{i + 1}:
|
251 |
|
252 |
evaluation = f"You got {results} out of {len(answers)} correct.\n" + evaluation
|
253 |
|
|
|
246 |
for i, (ans, resp) in enumerate(zip(answers, response)):
|
247 |
if ans == resp:
|
248 |
results += 1
|
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 |
|