Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
65 |
-
|
66 |
-
|
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 |
|