Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ HebEMO_model = HebEMO()
|
|
12 |
|
13 |
st.title("Emotion Recognition in Hebrew Texts")
|
14 |
st.write("HebEMO is a tool to detect polarity and extract emotions from Hebrew user-generated content (UGC), which was trained on a unique Covid-19 related dataset that we collected and annotated. HebEMO yielded a high performance of weighted average F1-score = 0.96 for polarity classification. Emotion detection reached an F1-score of 0.78-0.97, with the exception of *surprise*, which the model failed to capture (F1 = 0.41). More information can be found in our git: https://github.com/avichaychriqui/HeBERT")
|
15 |
-
st.write("Write Hebrew sentences in the text box below to analyze. It takes a while, be patient :). An additional demo can be found in the Colab notebook: https://colab.research.google.com/drive/1Jw3gOWjwVMcZslu-ttXoNeD17lms1-ff ")
|
16 |
|
17 |
sent = st.text_area("Text", "ืืืืื ืืคืื ืืืืืฉืจืื", height = 20)
|
18 |
# interact(HebEMO_model.hebemo, text='ืืืืื ืืคืื ืืืืืฉืจื', plot=fixed(True), input_path=fixed(False), save_results=fixed(False),)
|
|
|
12 |
|
13 |
st.title("Emotion Recognition in Hebrew Texts")
|
14 |
st.write("HebEMO is a tool to detect polarity and extract emotions from Hebrew user-generated content (UGC), which was trained on a unique Covid-19 related dataset that we collected and annotated. HebEMO yielded a high performance of weighted average F1-score = 0.96 for polarity classification. Emotion detection reached an F1-score of 0.78-0.97, with the exception of *surprise*, which the model failed to capture (F1 = 0.41). More information can be found in our git: https://github.com/avichaychriqui/HeBERT")
|
15 |
+
st.write("Write Hebrew sentences in the text box below to analyze (each sentence in a different rew). It takes a while, be patient :). An additional demo can be found in the Colab notebook: https://colab.research.google.com/drive/1Jw3gOWjwVMcZslu-ttXoNeD17lms1-ff ")
|
16 |
|
17 |
sent = st.text_area("Text", "ืืืืื ืืคืื ืืืืืฉืจืื", height = 20)
|
18 |
# interact(HebEMO_model.hebemo, text='ืืืืื ืืคืื ืืืืืฉืจื', plot=fixed(True), input_path=fixed(False), save_results=fixed(False),)
|