Spaces:
Runtime error
Runtime error
Duy-Anh Dang
commited on
Commit
·
1cf8611
1
Parent(s):
0641616
updated requirements
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -216,7 +216,7 @@ if st.button('Generate Predictions'):
|
|
216 |
|
217 |
# email_data = utils.get_files_from_aws(bucket,file_key)
|
218 |
tone_key = 'ModelSADataSets/Tone_and_target.csv'
|
219 |
-
tone_data = FunctionsModelSA_V1.load_data(
|
220 |
test_predictions,tones = FunctionsModelSA_V1.convert_text_to_tone(input_text)
|
221 |
|
222 |
# st.dataframe(test_predictions)
|
|
|
216 |
|
217 |
# email_data = utils.get_files_from_aws(bucket,file_key)
|
218 |
tone_key = 'ModelSADataSets/Tone_and_target.csv'
|
219 |
+
tone_data = FunctionsModelSA_V1.load_data()
|
220 |
test_predictions,tones = FunctionsModelSA_V1.convert_text_to_tone(input_text)
|
221 |
|
222 |
# st.dataframe(test_predictions)
|
requirements.txt
CHANGED
@@ -16,4 +16,5 @@ scikit-learn
|
|
16 |
streamlit-analytics
|
17 |
streamlit
|
18 |
s3fs
|
19 |
-
ipython
|
|
|
|
16 |
streamlit-analytics
|
17 |
streamlit
|
18 |
s3fs
|
19 |
+
ipython
|
20 |
+
ipywidgets
|