freegpu commited on
Commit
03234fd
·
verified ·
1 Parent(s): 2f837e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ num_layers = 2
24
  output_dim = 1
25
  num_epochs = 1700
26
 
27
- def get_crypto_ohlcv(crypto_name="BTC", tsym="USD", timeframe="1d", limit=100, api_key=None):
28
  """
29
  Fetches OHLCV data from CryptoCompare with support for various timeframes.
30
 
@@ -62,7 +62,7 @@ def get_crypto_ohlcv(crypto_name="BTC", tsym="USD", timeframe="1d", limit=100, a
62
  "limit": limit,
63
  "aggregate": agg
64
  }
65
-
66
  if api_key:
67
  params["api_key"] = api_key
68
 
 
24
  output_dim = 1
25
  num_epochs = 1700
26
 
27
+ def get_crypto_ohlcv(crypto_name="BTC", tsym="USD", timeframe="1d", limit=100, api_key="a2b2efc08d5160dc1bc03be8e03280dcb51daab10832c6ee698c95d065359589"):
28
  """
29
  Fetches OHLCV data from CryptoCompare with support for various timeframes.
30
 
 
62
  "limit": limit,
63
  "aggregate": agg
64
  }
65
+
66
  if api_key:
67
  params["api_key"] = api_key
68