Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def live_crypto_price(cryptocurrencies:list)-> str: #it's import to specify the
|
|
33 |
cryptos = ','.join(c for c in cryptocurrencies)
|
34 |
parms = {"ids": cryptos,
|
35 |
"vs_currencies": "inr"}
|
36 |
-
response = requests.get(url, params=
|
37 |
data = response.json()
|
38 |
for keys, values in data.items():
|
39 |
results.append(f"the price of {keys} is {values['inr']}.")
|
|
|
33 |
cryptos = ','.join(c for c in cryptocurrencies)
|
34 |
parms = {"ids": cryptos,
|
35 |
"vs_currencies": "inr"}
|
36 |
+
response = requests.get(url, params=parms)
|
37 |
data = response.json()
|
38 |
for keys, values in data.items():
|
39 |
results.append(f"the price of {keys} is {values['inr']}.")
|