Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -908,7 +908,8 @@ def create_coloured_label(text, colour, emoji):
|
|
| 908 |
|
| 909 |
|
| 910 |
def create_interface():
|
| 911 |
-
|
|
|
|
| 912 |
gr.Markdown("""
|
| 913 |
# 🕸️ Basic Network Explorer
|
| 914 |
|
|
@@ -1301,4 +1302,5 @@ def create_interface():
|
|
| 1301 |
|
| 1302 |
if __name__ == "__main__":
|
| 1303 |
demo = create_interface()
|
| 1304 |
-
|
|
|
|
|
|
| 908 |
|
| 909 |
|
| 910 |
def create_interface():
|
| 911 |
+
# Note: theme moved to launch() for Gradio 6.0 compatibility
|
| 912 |
+
with gr.Blocks(title="Network Explorer") as demo:
|
| 913 |
gr.Markdown("""
|
| 914 |
# 🕸️ Basic Network Explorer
|
| 915 |
|
|
|
|
| 1302 |
|
| 1303 |
if __name__ == "__main__":
|
| 1304 |
demo = create_interface()
|
| 1305 |
+
# Gradio 6.0 compatibility: theme and ssr_mode moved to launch()
|
| 1306 |
+
demo.launch(ssr_mode=False, theme=gr.themes.Soft())
|