benjaminStreltzin commited on
Commit
4744348
·
verified ·
1 Parent(s): 7fc845d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -1,11 +1,8 @@
1
  import gradio as gr
2
- from transformers import pipeline
3
- pipe = pipeline("image-classification", "DataScienceProject/Vit")
4
- print(pipe)
5
 
6
 
7
- def greet(name):
8
- return "Hello " + name + "!!"
9
 
10
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
 
11
  demo.launch()
 
1
  import gradio as gr
 
 
 
2
 
3
 
 
 
4
 
5
+
6
+
7
+ demo = gr.Interface(...
8
  demo.launch()