Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -448,7 +448,8 @@ import datetime
|
|
| 448 |
SECRET_CODE = "ilovemypythonprogram"
|
| 449 |
BASE_API_URL = "https://my-model-api.shares.zrok.io/api/training/"
|
| 450 |
|
| 451 |
-
def predict_crypto_gradio(crypto_name, limit,
|
|
|
|
| 452 |
# Calculate validation_date
|
| 453 |
now_utc = datetime.datetime.utcnow()
|
| 454 |
if 'd' in ohlcv_timeframe.lower():
|
|
|
|
| 448 |
SECRET_CODE = "ilovemypythonprogram"
|
| 449 |
BASE_API_URL = "https://my-model-api.shares.zrok.io/api/training/"
|
| 450 |
|
| 451 |
+
def predict_crypto_gradio(crypto_name, limit, market_type, ohlcv_timeframe):
|
| 452 |
+
timeframe_lstm=12
|
| 453 |
# Calculate validation_date
|
| 454 |
now_utc = datetime.datetime.utcnow()
|
| 455 |
if 'd' in ohlcv_timeframe.lower():
|