Spaces:
Runtime error
Runtime error
Merge branch 'milestone-2'
Browse files- README.md +3 -0
- app.py +1 -0
- requirements.txt +2 -1
README.md
CHANGED
@@ -9,6 +9,9 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
|
|
|
|
|
|
12 |
# cs-gy-6613-project
|
13 |
Benjamin Liang's AI Project
|
14 |
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
Link to huggingface app: https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app
|
13 |
+
|
14 |
+
|
15 |
# cs-gy-6613-project
|
16 |
Benjamin Liang's AI Project
|
17 |
|
app.py
CHANGED
@@ -35,6 +35,7 @@ def sentiment_analysis(model, tokenizer):
|
|
35 |
|
36 |
# Title the Streamlit app 'Sentiment Analysis'
|
37 |
st.title('Sentiment Analysis')
|
|
|
38 |
|
39 |
# Take in user input
|
40 |
user_text = st.text_input('Input text to perform sentiment analysis on here.')
|
|
|
35 |
|
36 |
# Title the Streamlit app 'Sentiment Analysis'
|
37 |
st.title('Sentiment Analysis')
|
38 |
+
st.markdown('Link to the app - [sentiment-analysis-app](https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app)')
|
39 |
|
40 |
# Take in user input
|
41 |
user_text = st.text_input('Input text to perform sentiment analysis on here.')
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
streamlit
|
2 |
-
transformers
|
|
|
|
1 |
streamlit
|
2 |
+
transformers
|
3 |
+
PyTorch
|