Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -350,7 +350,7 @@ emotion_map = {
|
|
| 350 |
}
|
| 351 |
|
| 352 |
def generate_tagged_text(text: str, emotion_enum: str, intensity_enum: int) -> str:
|
| 353 |
-
|
| 354 |
Convert enums to <emo_x> <int_y> format and concatenate with text
|
| 355 |
"""
|
| 356 |
emo_tag = f"<emo_{emotion_map[emotion_enum]}>"
|
|
|
|
| 350 |
}
|
| 351 |
|
| 352 |
def generate_tagged_text(text: str, emotion_enum: str, intensity_enum: int) -> str:
|
| 353 |
+
"""
|
| 354 |
Convert enums to <emo_x> <int_y> format and concatenate with text
|
| 355 |
"""
|
| 356 |
emo_tag = f"<emo_{emotion_map[emotion_enum]}>"
|