Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,8 @@ theme = gr.themes.Soft(
|
|
| 109 |
text_size="lg"
|
| 110 |
)
|
| 111 |
|
| 112 |
-
|
|
|
|
| 113 |
|
| 114 |
with gr.Column(elem_classes="container"):
|
| 115 |
# Header
|
|
@@ -178,4 +179,5 @@ with gr.Blocks(theme=theme, css=custom_css, title="AI Exam Gen") as demo:
|
|
| 178 |
)
|
| 179 |
|
| 180 |
if __name__ == "__main__":
|
| 181 |
-
|
|
|
|
|
|
| 109 |
text_size="lg"
|
| 110 |
)
|
| 111 |
|
| 112 |
+
# UPDATED: theme and css removed from here
|
| 113 |
+
with gr.Blocks(title="AI Exam Gen") as demo:
|
| 114 |
|
| 115 |
with gr.Column(elem_classes="container"):
|
| 116 |
# Header
|
|
|
|
| 179 |
)
|
| 180 |
|
| 181 |
if __name__ == "__main__":
|
| 182 |
+
# UPDATED: theme and css moved here for Gradio 6 compatibility
|
| 183 |
+
demo.launch(theme=theme, css=custom_css)
|