Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,8 +21,6 @@ def load_data_predictions(github_token):
|
|
| 21 |
"Authorization": f"token {github_token}",
|
| 22 |
}
|
| 23 |
response_contents = requests.get(url_contents, headers=headers_contents)
|
| 24 |
-
st.write("Status code (contents):", response_contents.status_code)
|
| 25 |
-
st.write("Response JSON (contents):", response_contents.json())
|
| 26 |
|
| 27 |
if response_contents.status_code != 200:
|
| 28 |
st.error("Failed to download file metadata. Check token and file path.")
|
|
|
|
| 21 |
"Authorization": f"token {github_token}",
|
| 22 |
}
|
| 23 |
response_contents = requests.get(url_contents, headers=headers_contents)
|
|
|
|
|
|
|
| 24 |
|
| 25 |
if response_contents.status_code != 200:
|
| 26 |
st.error("Failed to download file metadata. Check token and file path.")
|