Spaces:
Sleeping
Sleeping
runtime
Browse files- app.py +3 -6
- runtime.txt +1 -0
app.py
CHANGED
|
@@ -592,12 +592,9 @@ def create_interface():
|
|
| 592 |
|
| 593 |
if __name__ == "__main__":
|
| 594 |
print("[DEBUG] Starting app main block...")
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
return f"Hello, {name}!"
|
| 598 |
-
demo = gr.Interface(fn=hello, inputs="text", outputs="text", title="Minimal Debug Demo")
|
| 599 |
-
print("[DEBUG] Minimal Gradio interface created. Launching...")
|
| 600 |
demo.launch(server_name="0.0.0.0", server_port=7867)
|
| 601 |
-
print("[DEBUG]
|
| 602 |
|
| 603 |
|
|
|
|
| 592 |
|
| 593 |
if __name__ == "__main__":
|
| 594 |
print("[DEBUG] Starting app main block...")
|
| 595 |
+
demo = create_interface()
|
| 596 |
+
print("[DEBUG] Gradio interface created. Launching...")
|
|
|
|
|
|
|
|
|
|
| 597 |
demo.launch(server_name="0.0.0.0", server_port=7867)
|
| 598 |
+
print("[DEBUG] Gradio app launched.")
|
| 599 |
|
| 600 |
|
runtime.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
python-3.10
|