MoHamdyy commited on
Commit
0bcdad5
·
1 Parent(s): 4a2c2a8

changed app to gradio

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -473,9 +473,9 @@ demo = gr.Interface(
473
  examples=[["/kaggle/input/testtt/test_audio.ogg"]] if os.path.exists("/kaggle/input/testtt/test_audio.ogg") else None # Optional example
474
  )
475
  demo.launch(debug=True)
476
- if __name__ == "__main__":
477
- print("Launching Gradio app...")
478
- # When running on Hugging Face Spaces, HF handles the launch.
479
- # For local testing, you might need a specific host/port.
480
- # HF Spaces will look for a `demo.launch()` or `iface.launch()`
481
- # demo.launch(debug=True) # debug=True for more detailed Gradio logs
 
473
  examples=[["/kaggle/input/testtt/test_audio.ogg"]] if os.path.exists("/kaggle/input/testtt/test_audio.ogg") else None # Optional example
474
  )
475
  demo.launch(debug=True)
476
+ # if __name__ == "__main__":
477
+ # print("Launching Gradio app...")
478
+ # # When running on Hugging Face Spaces, HF handles the launch.
479
+ # # For local testing, you might need a specific host/port.
480
+ # # HF Spaces will look for a `demo.launch()` or `iface.launch()`
481
+ # # demo.launch(debug=True) # debug=True for more detailed Gradio logs