Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def detect_gap_patterns(symbol):
|
|
| 87 |
"""
|
| 88 |
Main function to fetch data, generate charts, and detect GAP patterns in near-real-time.
|
| 89 |
"""
|
| 90 |
-
model = YOLO("/
|
| 91 |
while True:
|
| 92 |
data = get_stock_candlestick_data(symbol)
|
| 93 |
if not data:
|
|
|
|
| 87 |
"""
|
| 88 |
Main function to fetch data, generate charts, and detect GAP patterns in near-real-time.
|
| 89 |
"""
|
| 90 |
+
model = YOLO("/best.pt") # Load model once outside the loop
|
| 91 |
while True:
|
| 92 |
data = get_stock_candlestick_data(symbol)
|
| 93 |
if not data:
|