Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements.txt updated #3

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
5 changes: 1 addition & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def fetch_news_sentiment(ticker):
)

# Load Keras Model without compiling to avoid warning
model_path = "/Users/aaditroychowdhury/Documents/CS 222/Main branch/main-project-shmoney/keras_model.h5"
model_path = os.getenv("MODEL_PATH")
model = load_model(model_path, compile=False)

# Run button
Expand All @@ -71,9 +71,6 @@ def fetch_news_sentiment(ticker):
# Fetch stock data
df = yf.download(ticker, start=start_date, end=end_date)

# Fetch stock data
df = yf.download(ticker, start=start_date, end=end_date)

# Reset index to add Date column
df.reset_index(inplace=True)

Expand Down
43 changes: 35 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,40 @@
#
#
#
#
#
#
# If you have any questions, let me know :) !
#
# - AR (Alexia Rendon)
#


black==23.1.0
flake8==6.0.0
pytest==7.2.0
pytest==7.2.0

# -----------------------------------------------------------------

# numpy==1.22.4
# pandas==1.5.3
# matplotlib==3.6.3
# seaborn==0.12.2
# yfinance==0.2.18
# streamlit==1.26.0
# keras==2.11.0
# scikit-learn==1.2.2
# newsapi-python==0.2.6
# prophet==1.1
# vaderSentiment==3.3.2
# python-dotenv==1.0.0
# os
# python==3.10.15

# -----------------------------------------------------------------

numpy
pandas
matplotlib
seaborn
yfinance
streamlit
keras
scikit-learn
newsapi-python
prophet
vaderSentiment
python-dotenv