marcellohalfeld commited on
Commit
3176bad
1 Parent(s): 7f0d03a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline("image-classification", model="google/vit-base-patch16-224")
5
 
6
  gr.Interface.from_pipeline(pipe).launch()
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline("image-to-text", model="facebook/nougat-base")
5
 
6
  gr.Interface.from_pipeline(pipe).launch()