amanmaurya0704 commited on
Commit
da30d43
·
1 Parent(s): 5411b02
Files changed (4) hide show
  1. .github/workflows/main.yaml +1 -1
  2. Dockerfile +41 -0
  3. README.md +8 -0
  4. pyproject.toml +16 -0
.github/workflows/main.yaml CHANGED
@@ -21,6 +21,6 @@ jobs:
21
  - name: Push to hub
22
  env:
23
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
24
- run: git push --force https://genaitiwari:[email protected]/spaces/genaitiwari/agenticai main
25
 
26
 
 
21
  - name: Push to hub
22
  env:
23
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
24
+ run: git push --force https://amanmaurya0704:[email protected]/spaces/amanmaurya0704/Agentic main
25
 
26
 
Dockerfile ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base Image
2
+ FROM python:3.12-slim
3
+
4
+ # Environment Variables
5
+ ENV PYTHONDONTWRITEBYTECODE=1 \
6
+ PYTHONUNBUFFERED=1
7
+
8
+ RUN apt-get update && apt-get install -y curl build-essential \
9
+ && rm -rf /var/lib/apt/lists/* # Clean up apt cache to keep image size small
10
+
11
+
12
+ # Set the working directory inside the container
13
+ WORKDIR /app
14
+
15
+
16
+ # (Optional, but good practice if you want to use uv for faster installs)
17
+ # Install uv
18
+ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
19
+ && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
20
+
21
+ # Ensure uv is in the PATH for the current session (for RUN commands that follow)
22
+ ENV PATH="/root/.local/bin:${PATH}"
23
+
24
+ # Copy application code
25
+ COPY pyproject.toml ./
26
+
27
+ # Create and set up virtual environment
28
+ RUN uv pip install . --system && \
29
+ uv venv && \
30
+ uv sync && \
31
+ uv build
32
+
33
+ # Copy your entire application code
34
+ COPY . .
35
+
36
+ # Expose the port Streamlit runs on (default is 8501)
37
+ EXPOSE 8501
38
+
39
+ # Command to run your Streamlit application
40
+ # Replace `your_streamlit_app.py` with the actual name of your Streamlit file
41
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
README.md CHANGED
@@ -1 +1,9 @@
 
 
 
 
 
 
 
 
1
  # END to END Agentic AI Project
 
1
+ ---
2
+ title: IntelliAgentUI
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: blue
6
+ sdk: docker
7
+ app_port: 8501
8
+ ---
9
  # END to END Agentic AI Project
pyproject.toml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "langgraph-project"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = [
8
+ "faiss-cpu>=1.11.0",
9
+ "langchain>=0.3.25",
10
+ "langchain-community>=0.3.24",
11
+ "langchain-groq>=0.3.2",
12
+ "langchain-openai>=0.3.18",
13
+ "langgraph>=0.4.7",
14
+ "pandas>=2.2.3",
15
+ "streamlit>=1.45.1",
16
+ ]