Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def load_sfts(repo_1_id, repo_2_id):
|
|
43 |
else:
|
44 |
print(f"Trigger word 1: no trigger word need")
|
45 |
|
46 |
-
|
47 |
|
48 |
repo_2_data = card_2.data.to_dict()
|
49 |
instance_prompt_2 = repo_2_data.get("instance_prompt")
|
|
|
43 |
else:
|
44 |
print(f"Trigger word 1: no trigger word need")
|
45 |
|
46 |
+
card_2 = ModelCard.load(repo_1_id)
|
47 |
|
48 |
repo_2_data = card_2.data.to_dict()
|
49 |
instance_prompt_2 = repo_2_data.get("instance_prompt")
|