aaron888 commited on
Commit
b230521
1 Parent(s): fb55405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from transformers import pipeline
4
 
5
  pipe = pipeline("image-to-text",
6
- model="./models/Salesforce/blip-image-captioning-base")
7
  def launch(input):
8
  out = pipe(input)
9
  return out[0]['generated_text']
 
3
  from transformers import pipeline
4
 
5
  pipe = pipeline("image-to-text",
6
+ model="Salesforce/blip-image-captioning-base")
7
  def launch(input):
8
  out = pipe(input)
9
  return out[0]['generated_text']