Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ class CandlestickApp:
|
|
152 |
# Train the model
|
153 |
model.fit(X_train, Y_train, epochs=500, batch_size=64, callbacks=[checkpoint, early_stop]) # Increase epochs potentially
|
154 |
|
155 |
-
self.model = model
|
156 |
|
157 |
def inference(self, symbol, timeframe, start_date, end_date):
|
158 |
data = self.get_stock_data(symbol, timeframe, start_date, end_date)
|
|
|
152 |
# Train the model
|
153 |
model.fit(X_train, Y_train, epochs=500, batch_size=64, callbacks=[checkpoint, early_stop]) # Increase epochs potentially
|
154 |
|
155 |
+
self.model = model
|
156 |
|
157 |
def inference(self, symbol, timeframe, start_date, end_date):
|
158 |
data = self.get_stock_data(symbol, timeframe, start_date, end_date)
|