cedpsam commited on
Commit
e58c8e2
·
verified ·
1 Parent(s): a569224

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
9
  # Use a pipeline as a high-level helper
10
  #from transformers import pipeline
11
  from optimum.onnxruntime import pipeline
12
- pipe = pipeline("image-to-text", model="genta-tech/nougat-base-onnx-quantized")
13
  def generate_img(prompt):
14
 
15
 
 
9
  # Use a pipeline as a high-level helper
10
  #from transformers import pipeline
11
  from optimum.onnxruntime import pipeline
12
+ pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
13
  def generate_img(prompt):
14
 
15