sofieff commited on
Commit
4ae610b
·
1 Parent(s): c01e5f9

minim test

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -592,9 +592,12 @@ def create_interface():
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
 
 
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