ducngg commited on
Commit
35e349f
1 Parent(s): 27cf630

Fix bug and new samples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ outputs = gr.Textbox()
39
  title = "Racist model v2"
40
 
41
  SAMPLE_DIR = 'samples'
42
- examples = [path for path in os.listdir(SAMPLE_DIR)]
43
 
44
  yolo_app = gr.Interface(
45
  fn=handle_classify,
 
39
  title = "Racist model v2"
40
 
41
  SAMPLE_DIR = 'samples'
42
+ examples = [os.path.join(SAMPLE_DIR, path) for path in os.listdir(SAMPLE_DIR)]
43
 
44
  yolo_app = gr.Interface(
45
  fn=handle_classify,