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

changed app to gradio

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -472,10 +472,10 @@ demo = gr.Interface(
472
  allow_flagging="never",
473
  examples=[["/kaggle/input/testtt/test_audio.ogg"]] if os.path.exists("/kaggle/input/testtt/test_audio.ogg") else None # Optional example
474
  )
475
-
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
 
472
  allow_flagging="never",
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