Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,9 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
print("Gradio version:", gr.__version__)
|
| 4 |
|
| 5 |
-
|
| 6 |
-
gr.Markdown("Hello, this is a test!")
|
| 7 |
|
| 8 |
-
demo
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
print("Gradio version:", gr.__version__)
|
| 4 |
|
| 5 |
+
demo = gr.Blocks()
|
|
|
|
| 6 |
|
| 7 |
+
with demo:
|
| 8 |
+
gr.Markdown("# Hello HF Spaces with Gradio 5.35.0!")
|
| 9 |
+
|
| 10 |
+
# Do NOT call demo.launch()
|