joaomorossini's picture
Update README.md to correct demo command and add app.py for Gradio interface
3a55902
raw
history blame contribute delete
416 Bytes
import os
import sys
# Add the app directory to the path so it can find its own modules
app_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "app")
sys.path.append(app_dir)
# Import the main function from demo.py
from demo import main
# This creates and launches the Gradio interface
demo = main()
# For Gradio compatibility - expose the demo interface
if __name__ == "__main__":
demo.launch()