mozzic commited on
Commit
0bc3c4d
·
verified ·
1 Parent(s): 05892df
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ from pathlib import Path
9
 
10
  # Add current directory and src to path for imports
11
  current_dir = Path(__file__).parent
12
- sys.path.insert(0, str(current_dir))
13
  sys.path.insert(0, str(current_dir / "src"))
14
 
15
  # Import and run the Gradio app
@@ -24,4 +24,4 @@ if __name__ == "__main__":
24
  server_name="0.0.0.0",
25
  server_port=int(os.environ.get("PORT", 7860)),
26
  show_error=True
27
- )
 
9
 
10
  # Add current directory and src to path for imports
11
  current_dir = Path(__file__).parent
12
+ sys.path.insert(0, str(current_dir / "ui"))
13
  sys.path.insert(0, str(current_dir / "src"))
14
 
15
  # Import and run the Gradio app
 
24
  server_name="0.0.0.0",
25
  server_port=int(os.environ.get("PORT", 7860)),
26
  show_error=True
27
+ )