Spaces:
Sleeping
Sleeping
minim test
Browse files
app.py
CHANGED
|
@@ -592,9 +592,12 @@ def create_interface():
|
|
| 592 |
|
| 593 |
if __name__ == "__main__":
|
| 594 |
print("[DEBUG] Starting app main block...")
|
| 595 |
-
|
| 596 |
-
|
|
|
|
|
|
|
|
|
|
| 597 |
demo.launch(server_name="0.0.0.0", server_port=7867)
|
| 598 |
-
print("[DEBUG] Gradio app launched.")
|
| 599 |
|
| 600 |
|
|
|
|
| 592 |
|
| 593 |
if __name__ == "__main__":
|
| 594 |
print("[DEBUG] Starting app main block...")
|
| 595 |
+
import gradio as gr
|
| 596 |
+
def hello(name):
|
| 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] Minimal Gradio app launched.")
|
| 602 |
|
| 603 |
|