Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from src.gradio_server import iface_combined
|
| 2 |
|
| 3 |
# Launch the Gradio interface defined in gradio_server.py
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import sys
|
| 3 |
+
|
| 4 |
+
# Adjust PYTHONPATH
|
| 5 |
+
sys.path.append(os.path.join(os.path.dirname(__file__), 'src'))
|
| 6 |
+
|
| 7 |
from src.gradio_server import iface_combined
|
| 8 |
|
| 9 |
# Launch the Gradio interface defined in gradio_server.py
|