Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -272,8 +272,6 @@ def process_and_summarize(df, bert_tokenizer, bert_model, emotion_classifier, to
|
|
272 |
continue
|
273 |
|
274 |
return summaries, topic_model
|
275 |
-
|
276 |
-
def main():
|
277 |
|
278 |
# Load models
|
279 |
try:
|
@@ -412,7 +410,4 @@ def main():
|
|
412 |
'country': ['Egypt', 'Palestine'],
|
413 |
'poem': ['قصيدة مصرية', 'قصيدة فلسطينية']
|
414 |
})
|
415 |
-
st.dataframe(example_df)
|
416 |
-
|
417 |
-
if __name__ == "__main__":
|
418 |
-
main()
|
|
|
272 |
continue
|
273 |
|
274 |
return summaries, topic_model
|
|
|
|
|
275 |
|
276 |
# Load models
|
277 |
try:
|
|
|
410 |
'country': ['Egypt', 'Palestine'],
|
411 |
'poem': ['قصيدة مصرية', 'قصيدة فلسطينية']
|
412 |
})
|
413 |
+
st.dataframe(example_df)
|
|
|
|
|
|