Haseeb javed
commited on
Commit
·
f4ed07c
1
Parent(s):
cddf948
5:05pm
Browse files
app.py
CHANGED
@@ -47,6 +47,5 @@ def chat():
|
|
47 |
return jsonify({"response": response})
|
48 |
|
49 |
if __name__ == "__main__":
|
50 |
-
|
51 |
-
|
52 |
-
app.run(debug=False, host="0.0.0.0", port=port)
|
|
|
47 |
return jsonify({"response": response})
|
48 |
|
49 |
if __name__ == "__main__":
|
50 |
+
from os import getenv
|
51 |
+
app.run(host="0.0.0.0", port=int(getenv("PORT", 8080)))
|
|