Spaces:
Running
on
Zero
Running
on
Zero
Update Leaderboard
Browse files
model/models/__init__.py
CHANGED
|
@@ -34,8 +34,8 @@ IMAGE_GENERATION_MODELS = [
|
|
| 34 |
'huggingface_Stable-cascade_text2image',
|
| 35 |
'openai_Dalle-2_text2image',
|
| 36 |
'openai_Dalle-3_text2image',
|
| 37 |
-
|
| 38 |
-
|
| 39 |
]
|
| 40 |
|
| 41 |
|
|
|
|
| 34 |
'huggingface_Stable-cascade_text2image',
|
| 35 |
'openai_Dalle-2_text2image',
|
| 36 |
'openai_Dalle-3_text2image',
|
| 37 |
+
'other_Midjourney-v6.0_text2image',
|
| 38 |
+
'other_Midjourney-v5.0_text2image',
|
| 39 |
]
|
| 40 |
|
| 41 |
|
model/models/other_api_models.py
CHANGED
|
@@ -47,7 +47,7 @@ class OtherModel():
|
|
| 47 |
img_id = response_json["result"]
|
| 48 |
result_url = self.get_url + img_id
|
| 49 |
print(result_url)
|
| 50 |
-
self.repeat_num =
|
| 51 |
while 1:
|
| 52 |
time.sleep(1)
|
| 53 |
img_response = requests.get(result_url)
|
|
|
|
| 47 |
img_id = response_json["result"]
|
| 48 |
result_url = self.get_url + img_id
|
| 49 |
print(result_url)
|
| 50 |
+
self.repeat_num = 300
|
| 51 |
while 1:
|
| 52 |
time.sleep(1)
|
| 53 |
img_response = requests.get(result_url)
|