Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -111,15 +111,6 @@ def change_base_model(repo_id: str, cn_on: bool, disable_model_cache: bool, prog
|
|
| 111 |
|
| 112 |
change_base_model.zerogpu = True
|
| 113 |
|
| 114 |
-
def update_loras_state(current_loras, gallery):
|
| 115 |
-
global loras
|
| 116 |
-
loras = current_loras
|
| 117 |
-
gallery_items = [(item["image"], item["title"]) for item in current_loras]
|
| 118 |
-
print(current_loras)
|
| 119 |
-
print(gallery_items)
|
| 120 |
-
print(gallery)
|
| 121 |
-
return gr.update(value=gallery_items)
|
| 122 |
-
|
| 123 |
class calculateDuration:
|
| 124 |
def __init__(self, activity_name=""):
|
| 125 |
self.activity_name = activity_name
|
|
|
|
| 111 |
|
| 112 |
change_base_model.zerogpu = True
|
| 113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
class calculateDuration:
|
| 115 |
def __init__(self, activity_name=""):
|
| 116 |
self.activity_name = activity_name
|