Abubakar Abid
commited on
Commit
·
c428d31
1
Parent(s):
40c7d40
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,5 @@ os.system("pip install gradio==2.5.8a0")
|
|
7 |
import gradio as gr
|
8 |
|
9 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
10 |
-
|
11 |
hf_saver = gr.HuggingFaceDatasetSaver(HF_TOKEN, "test-image-classifier-dataset")
|
12 |
-
|
13 |
gr.Interface.load("huggingface/google/vit-base-patch16-224", flagging_callback=hf_saver).launch()
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
|
|
10 |
hf_saver = gr.HuggingFaceDatasetSaver(HF_TOKEN, "test-image-classifier-dataset")
|
|
|
11 |
gr.Interface.load("huggingface/google/vit-base-patch16-224", flagging_callback=hf_saver).launch()
|