Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,9 @@ def get_image(prompt):
|
|
| 70 |
mimetype='image/png'
|
| 71 |
)
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
if __name__ == '__main__':
|
| 74 |
app.run(host='0.0.0.0', port=5000)
|
| 75 |
-
|
|
|
|
| 70 |
mimetype='image/png'
|
| 71 |
)
|
| 72 |
|
| 73 |
+
@app.route('/')
|
| 74 |
+
def health_check():
|
| 75 |
+
return "OK", 200
|
| 76 |
+
|
| 77 |
if __name__ == '__main__':
|
| 78 |
app.run(host='0.0.0.0', port=5000)
|
|
|