xnileshtiwari commited on
Commit
7826f1e
·
verified ·
1 Parent(s): 078efe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -2,8 +2,9 @@ import os
2
  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
 
8
  def launch(input):
9
  out = pipe(input)
 
2
  import gradio as gr
3
  from transformers import pipeline
4
 
5
+
6
+ pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
7
+
8
 
9
  def launch(input):
10
  out = pipe(input)