File size: 353 Bytes
8e14a93
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
import sys

# Ensure the src module is in the path
sys.path.append(os.path.abspath(os.path.dirname(__file__)))

# Import the Gradio demo from your web app
from src.web.app import demo

if __name__ == "__main__":
    # Launch on 0.0.0.0 for Hugging Face Spaces compatibility
    demo.launch(server_name="0.0.0.0", server_port=7860)