Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ def model_url_list():
|
|
12 |
url_list.append(f"https://huggingface.co/models?p={i}&sort=downloads&search=sd-dreambooth-library")
|
13 |
return url_list
|
14 |
|
15 |
-
|
16 |
def data_scraping(url_list):
|
17 |
model_list = []
|
18 |
for url in url_list:
|
@@ -25,7 +24,9 @@ def data_scraping(url_list):
|
|
25 |
return model_list
|
26 |
|
27 |
model_list = data_scraping(model_url_list())
|
28 |
-
|
|
|
|
|
29 |
def tune_video_predict(
|
30 |
pipe_id: str,
|
31 |
prompt: str,
|
|
|
12 |
url_list.append(f"https://huggingface.co/models?p={i}&sort=downloads&search=sd-dreambooth-library")
|
13 |
return url_list
|
14 |
|
|
|
15 |
def data_scraping(url_list):
|
16 |
model_list = []
|
17 |
for url in url_list:
|
|
|
24 |
return model_list
|
25 |
|
26 |
model_list = data_scraping(model_url_list())
|
27 |
+
for i in range(len(model_list)):
|
28 |
+
model_list[i] = model_list[i][1:]
|
29 |
+
|
30 |
def tune_video_predict(
|
31 |
pipe_id: str,
|
32 |
prompt: str,
|