Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -845,7 +845,7 @@ footer { display: none !important; }
|
|
| 845 |
with gr.Blocks(css=custom_css, title="SmartTutor AI") as demo:
|
| 846 |
|
| 847 |
# State
|
| 848 |
-
quiz_state = gr.State()
|
| 849 |
|
| 850 |
with gr.Column(elem_classes="header-box"):
|
| 851 |
gr.HTML(
|
|
@@ -997,9 +997,10 @@ with gr.Blocks(css=custom_css, title="SmartTutor AI") as demo:
|
|
| 997 |
|
| 998 |
if __name__ == "__main__":
|
| 999 |
print("Starting SmartTutor AI on Hugging Face...")
|
| 1000 |
-
demo.queue()
|
|
|
|
| 1001 |
server_name="0.0.0.0",
|
| 1002 |
server_port=7860,
|
| 1003 |
share=False,
|
| 1004 |
-
show_api=False,
|
| 1005 |
)
|
|
|
|
| 845 |
with gr.Blocks(css=custom_css, title="SmartTutor AI") as demo:
|
| 846 |
|
| 847 |
# State
|
| 848 |
+
quiz_state = gr.State(None)
|
| 849 |
|
| 850 |
with gr.Column(elem_classes="header-box"):
|
| 851 |
gr.HTML(
|
|
|
|
| 997 |
|
| 998 |
if __name__ == "__main__":
|
| 999 |
print("Starting SmartTutor AI on Hugging Face...")
|
| 1000 |
+
demo.queue()
|
| 1001 |
+
demo.launch(
|
| 1002 |
server_name="0.0.0.0",
|
| 1003 |
server_port=7860,
|
| 1004 |
share=False,
|
| 1005 |
+
show_api=False,
|
| 1006 |
)
|