Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ If you encounter any issues, please report them to https://huggingface.co/spaces
|
|
54 |
|
55 |
|
56 |
def commit(hf_token, repo):
|
|
|
57 |
try:
|
58 |
try: # check if there is a readme already
|
59 |
readme_text = fs.read_text(f"{repo}/README.md") + get_eval_results(repo)
|
|
|
54 |
|
55 |
|
56 |
def commit(hf_token, repo):
|
57 |
+
login(hf_token)
|
58 |
try:
|
59 |
try: # check if there is a readme already
|
60 |
readme_text = fs.read_text(f"{repo}/README.md") + get_eval_results(repo)
|