stevhliu HF staff commited on
Commit
297b974
1 Parent(s): ea8eb6d

Update app.py

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