File size: 416 Bytes
3a55902
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()