Spaces:
Sleeping
Sleeping
Upload DesgrabadorAI/app.py via API
Browse files- DesgrabadorAI/app.py +16 -0
DesgrabadorAI/app.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Minimal entrypoint for Hugging Face Spaces.
|
| 3 |
+
Spaces expects an `app.py` (or similar app file) at repo root that starts the app.
|
| 4 |
+
This file simply imports the main script which creates and launches the Gradio demo.
|
| 5 |
+
"""
|
| 6 |
+
import os
|
| 7 |
+
|
| 8 |
+
# Ensure we run from repo root
|
| 9 |
+
os.chdir(os.path.dirname(__file__))
|
| 10 |
+
|
| 11 |
+
# Import the main module which configures and launches the Gradio demo
|
| 12 |
+
import desgrabador_usuario_final # noqa: F401
|
| 13 |
+
|
| 14 |
+
if __name__ == '__main__':
|
| 15 |
+
# The imported module already initiates the Gradio launch when executed.
|
| 16 |
+
pass
|