sofieff commited on
Commit
2bcad7e
·
1 Parent(s): 4ae610b
Files changed (2) hide show
  1. app.py +3 -6
  2. 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
- 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
 
 
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