Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,4 @@ text_model = gr.Interface(fn=classify_emotion, inputs="textbox", outputs="textbo
|
|
93 |
|
94 |
|
95 |
main_model = gr.TabbedInterface([text_model, image_mode], ["Text Emotion Recognition", "Image Emotion Recognition"])
|
96 |
-
|
97 |
-
if _name_ == "_main_":
|
98 |
-
main_model.launch()
|
|
|
93 |
|
94 |
|
95 |
main_model = gr.TabbedInterface([text_model, image_mode], ["Text Emotion Recognition", "Image Emotion Recognition"])
|
96 |
+
main_model.launch()
|
|
|
|