Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,10 +62,12 @@ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green",
|
|
| 62 |
|
| 63 |
print(response)
|
| 64 |
|
| 65 |
-
output_json = json.loads(
|
| 66 |
|
| 67 |
print(output_json)
|
| 68 |
|
|
|
|
|
|
|
| 69 |
quiz_data = output_json
|
| 70 |
|
| 71 |
question_radio_list = []
|
|
|
|
| 62 |
|
| 63 |
print(response)
|
| 64 |
|
| 65 |
+
output_json = json.loads(response)
|
| 66 |
|
| 67 |
print(output_json)
|
| 68 |
|
| 69 |
+
global quiz_data
|
| 70 |
+
|
| 71 |
quiz_data = output_json
|
| 72 |
|
| 73 |
question_radio_list = []
|