Spaces:
Sleeping
Sleeping
suh4s
commited on
Commit
·
418c606
1
Parent(s):
5d4850c
Fix Python version compatibility and remove uv commands
Browse files- Dockerfile +2 -6
- pyproject.toml +1 -1
Dockerfile
CHANGED
@@ -52,15 +52,11 @@ USER user
|
|
52 |
# Run data download script to initialize data sources
|
53 |
RUN python download_data.py
|
54 |
|
55 |
-
# Install the dependencies
|
56 |
-
# RUN uv sync --frozen
|
57 |
-
RUN uv sync
|
58 |
-
|
59 |
# Create config for HF Spaces
|
60 |
-
RUN echo "sdk_version: 3\ntitle: InsightFlow AI\ndescription: Multi-perspective research assistant with visualization capabilities\napp_port: 7860" > $HOME/app/.hf/settings.yaml
|
61 |
|
62 |
# Expose Hugging Face Spaces port
|
63 |
EXPOSE 7860
|
64 |
|
65 |
# Run the app
|
66 |
-
CMD ["
|
|
|
52 |
# Run data download script to initialize data sources
|
53 |
RUN python download_data.py
|
54 |
|
|
|
|
|
|
|
|
|
55 |
# Create config for HF Spaces
|
56 |
+
RUN mkdir -p $HOME/app/.hf && echo "sdk_version: 3\ntitle: InsightFlow AI\ndescription: Multi-perspective research assistant with visualization capabilities\napp_port: 7860" > $HOME/app/.hf/settings.yaml
|
57 |
|
58 |
# Expose Hugging Face Spaces port
|
59 |
EXPOSE 7860
|
60 |
|
61 |
# Run the app
|
62 |
+
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
pyproject.toml
CHANGED
@@ -3,7 +3,7 @@ name = "InsightFlow-AI"
|
|
3 |
version = "0.1.0"
|
4 |
description = "InsightFlow AI"
|
5 |
readme = "README.md"
|
6 |
-
requires-python = ">=3.
|
7 |
dependencies = [
|
8 |
"arxiv==2.1.3",
|
9 |
"beautifulsoup4==4.13.3",
|
|
|
3 |
version = "0.1.0"
|
4 |
description = "InsightFlow AI"
|
5 |
readme = "README.md"
|
6 |
+
requires-python = ">=3.11"
|
7 |
dependencies = [
|
8 |
"arxiv==2.1.3",
|
9 |
"beautifulsoup4==4.13.3",
|