Spaces:
Running
Running
Fix bug and new samples
Browse files
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,
|