sappuff commited on
Commit
9bc4bea
·
verified ·
1 Parent(s): 8f28b0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ pipe = pipeline("image-to-text",
5
 
6
  def launch(input):
7
  out=pipe(input)
8
- retrun out[0]['generated_text']
9
 
10
  iface = gr.Interface(launch,
11
  inputs=gr.Image(type='pil'),
 
5
 
6
  def launch(input):
7
  out=pipe(input)
8
+ return out[0]['generated_text']
9
 
10
  iface = gr.Interface(launch,
11
  inputs=gr.Image(type='pil'),