Update to support latest changes to CLIP Interrogator space

#300
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