Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,9 +66,8 @@ def get_database_session():
|
|
| 66 |
)
|
| 67 |
except:
|
| 68 |
print("file not found")
|
| 69 |
-
repo = Repository(
|
| 70 |
-
|
| 71 |
-
) return session
|
| 72 |
|
| 73 |
def generate_html() -> str:
|
| 74 |
with open(DATA_FILE) as csvfile:
|
|
|
|
| 66 |
)
|
| 67 |
except:
|
| 68 |
print("file not found")
|
| 69 |
+
repo = Repository(local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN)
|
| 70 |
+
return session
|
|
|
|
| 71 |
|
| 72 |
def generate_html() -> str:
|
| 73 |
with open(DATA_FILE) as csvfile:
|