Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,6 +180,9 @@ def create_stock_chart(stock_data, symbol):
|
|
| 180 |
except Exception as e:
|
| 181 |
print(f"Error creating chart: {e}")
|
| 182 |
return None
|
|
|
|
|
|
|
|
|
|
| 183 |
|
| 184 |
@app.route('/')
|
| 185 |
def index():
|
|
|
|
| 180 |
except Exception as e:
|
| 181 |
print(f"Error creating chart: {e}")
|
| 182 |
return None
|
| 183 |
+
@app.route('/healthz')
|
| 184 |
+
def health_check():
|
| 185 |
+
return 'ok'
|
| 186 |
|
| 187 |
@app.route('/')
|
| 188 |
def index():
|