Spaces:
Sleeping
Sleeping
vancyferns
commited on
Commit
·
0ed00ee
1
Parent(s):
c74c973
updated port
Browse files- textModel/app.py +1 -1
textModel/app.py
CHANGED
|
@@ -265,7 +265,7 @@ def get_all_emotions():
|
|
| 265 |
if __name__ == '__main__':
|
| 266 |
logger.info("Starting Emotion Detection API...")
|
| 267 |
if emotion_classifier or initialize_model():
|
| 268 |
-
app.run(debug=True, host='0.0.0.0', port=
|
| 269 |
else:
|
| 270 |
logger.error("Could not start the server because the model failed to initialize.")
|
| 271 |
|
|
|
|
| 265 |
if __name__ == '__main__':
|
| 266 |
logger.info("Starting Emotion Detection API...")
|
| 267 |
if emotion_classifier or initialize_model():
|
| 268 |
+
app.run(debug=True, host='0.0.0.0', port=7860)
|
| 269 |
else:
|
| 270 |
logger.error("Could not start the server because the model failed to initialize.")
|
| 271 |
|