Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def fetch_active_crypto()-> str: #it's important to specify the return type
|
|
41 |
'X-CMC_PRO_API_KEY': 'b54bcf4d-1bca-4e8e-9a24-22ff2c3d462c',
|
42 |
}
|
43 |
|
44 |
-
session = Session()
|
45 |
session.headers.update(headers)
|
46 |
|
47 |
try:
|
|
|
41 |
'X-CMC_PRO_API_KEY': 'b54bcf4d-1bca-4e8e-9a24-22ff2c3d462c',
|
42 |
}
|
43 |
|
44 |
+
session = request.Session()
|
45 |
session.headers.update(headers)
|
46 |
|
47 |
try:
|