Gianpaolo Macario
commited on
Commit
·
8d7ebba
1
Parent(s):
3b2f0a4
wip(app): print Gradio version fro debugging purposes
Browse files
app.py
CHANGED
|
@@ -72,6 +72,8 @@ def calculate(n1, op, n2):
|
|
| 72 |
return "Error"
|
| 73 |
|
| 74 |
|
|
|
|
|
|
|
| 75 |
with gr.Blocks() as demo:
|
| 76 |
gr.Markdown(
|
| 77 |
"""## 🧮Calculator and other useful tools
|
|
@@ -133,7 +135,6 @@ with gr.Blocks() as demo:
|
|
| 133 |
outputs=img_output,
|
| 134 |
api_name="generate_image")
|
| 135 |
|
| 136 |
-
|
| 137 |
demo.launch(
|
| 138 |
mcp_server=True,
|
| 139 |
share=True,
|
|
|
|
| 72 |
return "Error"
|
| 73 |
|
| 74 |
|
| 75 |
+
print(f"DEBUG: Gradio version={gr. __version__}")
|
| 76 |
+
|
| 77 |
with gr.Blocks() as demo:
|
| 78 |
gr.Markdown(
|
| 79 |
"""## 🧮Calculator and other useful tools
|
|
|
|
| 135 |
outputs=img_output,
|
| 136 |
api_name="generate_image")
|
| 137 |
|
|
|
|
| 138 |
demo.launch(
|
| 139 |
mcp_server=True,
|
| 140 |
share=True,
|