Spaces:
Sleeping
Sleeping
File size: 414 Bytes
fbb01db ee00dcd 1b4b7ae 6886623 1b4b7ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# app.py
import sys
import os
# Add the src folder to the Python path
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()
if __name__ == "__main__":
# Launch the Gradio app
demo.launch() |