KhalilGuetari commited on
Commit
0c257f9
·
1 Parent(s): 2bf607d

Update requirements

Browse files
Files changed (2) hide show
  1. app.py +5 -4
  2. requirements.txt +1 -0
app.py CHANGED
@@ -5,13 +5,14 @@ This file is used when deploying to HuggingFace Spaces.
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
17
  if __name__ == "__main__":
 
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
+ from hf_eda_mcp.server import create_gradio_app
16
 
17
  # Create and launch the Gradio app
18
  if __name__ == "__main__":
requirements.txt CHANGED
@@ -1,6 +1,7 @@
1
  # HuggingFace Spaces requirements
2
  # Generated from pyproject.toml for Spaces deployment
3
 
 
4
  gradio[mcp]>=5.49.1
5
  datasets>=4.3.0
6
  huggingface_hub>=0.20.0
 
1
  # HuggingFace Spaces requirements
2
  # Generated from pyproject.toml for Spaces deployment
3
 
4
+ -e .
5
  gradio[mcp]>=5.49.1
6
  datasets>=4.3.0
7
  huggingface_hub>=0.20.0