jaisun2004 commited on
Commit
df6d09e
·
verified ·
1 Parent(s): 6e130aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,9 +61,9 @@ if uploaded_file:
61
  summary = summarizer(prompt_input, max_length=256, min_length=60, do_sample=False)
62
 
63
  # Emotion tagging
64
- st.info("🎭 Extracting emotional tones...")
65
- emotion_model = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
66
- emotion_scores = emotion_model(raw_transcript)
67
 
68
  # Layout with Tabs
69
 
 
61
  summary = summarizer(prompt_input, max_length=256, min_length=60, do_sample=False)
62
 
63
  # Emotion tagging
64
+ st.info("🎭 Extracting emotional tones...")
65
+ emotion_model = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
66
+ emotion_scores = emotion_model(raw_transcript)
67
 
68
  # Layout with Tabs
69