Spaces:
Paused
Paused
Update to support latest changes to CLIP Interrogator space (#300)
Browse files- Update to support latest changes to CLIP Interrogator space (0179a81a996620e1e34445ec9ee0b7ed2111e843)
Co-authored-by: pharmapsychotic <pharma@users.noreply.huggingface.co>
app.py
CHANGED
@@ -13,7 +13,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
13 |
|
14 |
def get_prompts(uploaded_image):
|
15 |
|
16 |
-
prompt = img_to_text(uploaded_image, fn_index=1)[0]
|
17 |
|
18 |
music_result = get_music(prompt)
|
19 |
|
|
|
13 |
|
14 |
def get_prompts(uploaded_image):
|
15 |
|
16 |
+
prompt = img_to_text(uploaded_image, "ViT-L (best for Stable Diffusion 1.*)", "fast", fn_index=1)[0]
|
17 |
|
18 |
music_result = get_music(prompt)
|
19 |
|