dabbu2000 commited on
Commit
39ead4b
·
1 Parent(s): 661f5cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ sentimentAnalysisSubmitButton = st.button("Press the submit button for final gra
29
 
30
  if sentimentAnalysisSubmitButton and sentimentAnalysisTextInput:
31
  sentimentAnalysisFinalOutput = sentiment_pipeline(sentimentAnalysisTextInput)
32
- if sentimentAnalysisSelectedModels == "roBERTa":
33
  st.write("Roberta Sentiment Analysis Resultant Value:", sentimentAnalysisLanguageMap[sentimentAnalysisFinalOutput[0]["Roberta Label"]])
34
  st.write("Roberta Sentiment Analysis Resultant Score:", sentimentAnalysisFinalOutput[0]["Probability Assigned with Sentiment Analysis Label"])
35
  else:
 
29
 
30
  if sentimentAnalysisSubmitButton and sentimentAnalysisTextInput:
31
  sentimentAnalysisFinalOutput = sentiment_pipeline(sentimentAnalysisTextInput)
32
+ if sentimentAnalysisLanguageSelections == "roBERTa":
33
  st.write("Roberta Sentiment Analysis Resultant Value:", sentimentAnalysisLanguageMap[sentimentAnalysisFinalOutput[0]["Roberta Label"]])
34
  st.write("Roberta Sentiment Analysis Resultant Score:", sentimentAnalysisFinalOutput[0]["Probability Assigned with Sentiment Analysis Label"])
35
  else: