Spaces:
Sleeping
Sleeping
Aiswarya Sankar
commited on
Commit
·
ab5d410
1
Parent(s):
785e02e
force reset every time removal
Browse files
app.py
CHANGED
@@ -107,14 +107,11 @@ def index_repo(textbox: str, dropdown: str) -> Response:
|
|
107 |
repo = mapping[dropdown[0]]
|
108 |
|
109 |
repo_name.value = repo
|
110 |
-
print("STATE VALUE: " + str(repo_name.value))
|
111 |
-
print("REPO NAME: " + str(repo))
|
112 |
pathName = git_clone(repo)
|
113 |
root_dir = './' + pathName
|
114 |
|
115 |
activeloop_username = "aiswaryas"
|
116 |
-
dataset_path = f"hub://{activeloop_username}/" + pathName
|
117 |
-
invalid_dataset_path = True
|
118 |
|
119 |
try:
|
120 |
try:
|
|
|
107 |
repo = mapping[dropdown[0]]
|
108 |
|
109 |
repo_name.value = repo
|
|
|
|
|
110 |
pathName = git_clone(repo)
|
111 |
root_dir = './' + pathName
|
112 |
|
113 |
activeloop_username = "aiswaryas"
|
114 |
+
dataset_path = f"hub://{activeloop_username}/" + pathName
|
|
|
115 |
|
116 |
try:
|
117 |
try:
|