Spaces:
Sleeping
Sleeping
File size: 393 Bytes
51f9d0c fbb01db 09faead fbb01db af7831d fbb01db ee00dcd 1b4b7ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# app.py ANDRE
import sys
import os
# Add the src folder to the Python path
# Solves all problems w subfolders - option2
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "src"))
if src_path not in sys.path:
sys.path.append(src_path)
# Import gradio_interface
from gradio_interface import demo
if __name__ == "__main__":
# Launch the Gradio app
demo.launch()
|