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