File size: 547 Bytes
e641d41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""

Minimal entrypoint for Hugging Face Spaces.

Spaces expects an `app.py` (or similar app file) at repo root that starts the app.

This file simply imports the main script which creates and launches the Gradio demo.

"""
import os

# Ensure we run from repo root
os.chdir(os.path.dirname(__file__))

# Import the main module which configures and launches the Gradio demo
import desgrabador_usuario_final  # noqa: F401

if __name__ == '__main__':
    # The imported module already initiates the Gradio launch when executed.
    pass