Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,6 +80,3 @@ def ner_endpoint():
|
|
80 |
return jsonify({"entities": words_and_entities})
|
81 |
except Exception as e:
|
82 |
return jsonify({"error": str(e)}), 500
|
83 |
-
|
84 |
-
if __name__ == '__main__':
|
85 |
-
app.run(host='0.0.0.0', port=5000, debug=True)
|
|
|
80 |
return jsonify({"entities": words_and_entities})
|
81 |
except Exception as e:
|
82 |
return jsonify({"error": str(e)}), 500
|
|
|
|
|
|