osanseviero HF staff commited on
Commit
3604e33
1 Parent(s): f25f3c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def get_images(prompt):
11
  return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
12
 
13
  def get_prompts(uploaded_image):
14
- return img_to_text(uploaded_image, fn_index=1)
15
 
16
  css = '''
17
  .animate-spin {
 
11
  return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
12
 
13
  def get_prompts(uploaded_image):
14
+ return img_to_text(uploaded_image, fn_index=1)[0]
15
 
16
  css = '''
17
  .animate-spin {