hmarzan commited on
Commit
3ea0e4a
1 Parent(s): d76315c

Forcing re-build?

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -7,10 +7,9 @@ pipe = pipeline("image-to-text",
7
  model="Salesforce/blip-image-captioning-base")
8
 
9
 
10
-
11
  def launch(input):
12
- out = pipe(input)
13
- return out[0]['generated_text']
14
 
15
 
16
  iface = gr.Interface(fn=launch,
 
7
  model="Salesforce/blip-image-captioning-base")
8
 
9
 
 
10
  def launch(input):
11
+ output = pipe(input)
12
+ return output[0]['generated_text']
13
 
14
 
15
  iface = gr.Interface(fn=launch,