Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,7 +135,7 @@ def toggle_oral_coach_visibility(class_name, index_no, policy_checked):
|
|
| 135 |
user_state.value = user_id
|
| 136 |
return message, gr.update(visible=True)
|
| 137 |
|
| 138 |
-
with gr.Blocks(title="Oral Coach powered by
|
| 139 |
with gr.Tab("Oral Coach ⚡ϞϞ(๑⚈ ․̫ ⚈๑)∩ ⚡"):
|
| 140 |
gr.Markdown("## Student Information")
|
| 141 |
class_name = gr.Dropdown(label="Class", choices=CLASS_OPTIONS)
|
|
@@ -183,8 +183,8 @@ with gr.Blocks(title="Oral Coach powered by Hugging Face", theme=theme) as app:
|
|
| 183 |
|
| 184 |
create_teachers_dashboard_tab()
|
| 185 |
|
| 186 |
-
|
|
|
|
| 187 |
debug=True,
|
| 188 |
-
server_port=int(os.environ.get("PORT", 10000)),
|
| 189 |
favicon_path="favicon.ico"
|
| 190 |
)
|
|
|
|
| 135 |
user_state.value = user_id
|
| 136 |
return message, gr.update(visible=True)
|
| 137 |
|
| 138 |
+
with gr.Blocks(title="Oral Coach powered by ZeroGPU⚡ϞϞ(๑⚈ ․̫ ⚈๑)∩ ⚡ and Meta AI 🦙 (LLama3)", theme=theme, css="footer {visibility: hidden}textbox{resize:none}") as demo:
|
| 139 |
with gr.Tab("Oral Coach ⚡ϞϞ(๑⚈ ․̫ ⚈๑)∩ ⚡"):
|
| 140 |
gr.Markdown("## Student Information")
|
| 141 |
class_name = gr.Dropdown(label="Class", choices=CLASS_OPTIONS)
|
|
|
|
| 183 |
|
| 184 |
create_teachers_dashboard_tab()
|
| 185 |
|
| 186 |
+
demo.queue(max_size=20)
|
| 187 |
+
demo.launch(
|
| 188 |
debug=True,
|
|
|
|
| 189 |
favicon_path="favicon.ico"
|
| 190 |
)
|