fffiloni Pharma commited on
Commit
3d381f7
โ€ข
1 Parent(s): 5fdfe9f

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>

Files changed (1) hide show
  1. app.py +1 -1
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