Duy-Anh Dang commited on
Commit
dff423d
·
1 Parent(s): fffd4c5

added buckets, keys

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -216,8 +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(bucket,tone_key)
220
- tone_data = FunctionsModelSA_V1.load_data()
221
  test_predictions,tones = FunctionsModelSA_V1.convert_text_to_tone(input_text)
222
 
223
  # 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(bucket,tone_key)
 
220
  test_predictions,tones = FunctionsModelSA_V1.convert_text_to_tone(input_text)
221
 
222
  # st.dataframe(test_predictions)