shtif commited on
Commit
56aa136
·
1 Parent(s): 9d61f73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -16,5 +16,7 @@ def launch(input):
16
  out = model.generate(**inputs)
17
  return processor.decode(out[0], skip_special_tokens=True)
18
 
19
- iface = gr.Interface(launch, inputs="image", outputs="text")
 
 
20
  iface.launch()
 
16
  out = model.generate(**inputs)
17
  return processor.decode(out[0], skip_special_tokens=True)
18
 
19
+ description = "Simple BLIP test app for image captioning."
20
+
21
+ iface = gr.Interface(launch, description=description, inputs="image", outputs="text")
22
  iface.launch()