aisyahhrazak commited on
Commit
01c4e47
·
verified ·
1 Parent(s): 8cfe38a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -301,7 +301,7 @@ def text_classification_and_sentiment(text, keywords_df):
301
  sentiment_output = f"Sentiment: {sentiment_label}\nProbability: {sentiment_score * 100:.2f}%"
302
  decision_output = f"Decision: {decision}"
303
 
304
- hf_writer.flag([text,tpb_output, sentiment_output])
305
 
306
 
307
  return tpb_output, sentiment_output, decision_output
 
301
  sentiment_output = f"Sentiment: {sentiment_label}\nProbability: {sentiment_score * 100:.2f}%"
302
  decision_output = f"Decision: {decision}"
303
 
304
+ hf_writer.flag([text,tpb_label, sentiment_label])
305
 
306
 
307
  return tpb_output, sentiment_output, decision_output