Spaces:
Sleeping
Sleeping
changed app to gradio
Browse files
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
|