File size: 387 Bytes
03dfdfb
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
import sys

# Ensure root directory is in the path for imports
sys.path.insert(0, os.path.dirname(__file__))

from app.web_app import create_app

# Create the Gradio demo application
app = create_app()

if __name__ == "__main__":
    # Launch with public access bindings (standard for hosting and local run)
    app.launch(server_name="0.0.0.0", server_port=7860, share=False)