Nrup Parikh commited on
Commit
e8b30d7
·
1 Parent(s): b33ff8e

Update dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. README.md +4 -11
Dockerfile CHANGED
@@ -13,4 +13,6 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
+
17
+ # Use Gunicorn for Flask
18
+ CMD ["gunicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -1,12 +1,5 @@
1
- ---
2
- title: Python Stock Forcast
3
- emoji: 💻
4
- colorFrom: red
5
- colorTo: gray
6
- sdk: docker
7
- pinned: false
8
- license: mit
9
- short_description: Stock forcast using Python AI-ML
10
- ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
+ # 🧠 Stock Forecast App
 
 
 
 
 
 
 
 
 
2
 
3
+ A Flask web app that predicts future stock prices using Yahoo Finance data and Random Forest Regression.
4
+
5
+ ## Run Locally