Abubakar Abid commited on
Commit
0420f0c
1 Parent(s): 5954ffa

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ HF_TOKEN =
4
+
5
+ hf_saver = gr.HuggingFaceDatasetSaver(HF_TOKEN, "test-image-classifier-dataset")
6
+
7
+ gr.Interface.load("huggingface/google/vit-base-patch16-224", flagging_callback=hf_saver).launch()