Spaces:
Running
Running
Commit
·
2bf607d
1
Parent(s):
b45bc3f
Fix import2
Browse files
app.py
CHANGED
|
@@ -5,6 +5,12 @@ This file is used when deploying to HuggingFace Spaces.
|
|
| 5 |
It imports and launches the main Gradio application.
|
| 6 |
"""
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
from src.hf_eda_mcp.server import create_gradio_app
|
| 9 |
|
| 10 |
# Create and launch the Gradio app
|
|
|
|
| 5 |
It imports and launches the main Gradio application.
|
| 6 |
"""
|
| 7 |
|
| 8 |
+
import os
|
| 9 |
+
import sys
|
| 10 |
+
|
| 11 |
+
# Add src directory to path for imports
|
| 12 |
+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
|
| 13 |
+
|
| 14 |
from src.hf_eda_mcp.server import create_gradio_app
|
| 15 |
|
| 16 |
# Create and launch the Gradio app
|