delphiclinic commited on
Commit
152ea8d
·
verified ·
1 Parent(s): 7237c0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
 
7
  ## Where to store flagged data
8
  HF_TOKEN = os.getenv('HF_TOKEN')
9
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "flaggedImages")
10
 
11
  # Load your trained model
12
  model = YOLO('best.pt')
@@ -75,4 +75,4 @@ platform = gr.Interface( fn = predict,
75
  )
76
 
77
 
78
- platform.launch(inline=True,share=True, favicon_path = "thumbnail.jpg")
 
6
 
7
  ## Where to store flagged data
8
  HF_TOKEN = os.getenv('HF_TOKEN')
9
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "flaggedImages/images")
10
 
11
  # Load your trained model
12
  model = YOLO('best.pt')
 
75
  )
76
 
77
 
78
+ platform.launch(inline=True,share=True,favicon_path = "thumbnail.jpg",debug=True)