Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ description = "An app to predict wafer Defects from the following 9 defects.[Cen
|
|
| 70 |
|
| 71 |
|
| 72 |
# Create examples list from "examples/" directory
|
| 73 |
-
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
| 74 |
|
| 75 |
# Create Gradio interface
|
| 76 |
demo = gr.Interface(
|
|
@@ -80,7 +80,7 @@ demo = gr.Interface(
|
|
| 80 |
gr.Label(num_top_classes=5, label="Predictions"),
|
| 81 |
gr.Image(label="Defects"),
|
| 82 |
],
|
| 83 |
-
examples=example_list,
|
| 84 |
title=title,
|
| 85 |
description=description,
|
| 86 |
)
|
|
|
|
| 70 |
|
| 71 |
|
| 72 |
# Create examples list from "examples/" directory
|
| 73 |
+
# example_list = [["examples/" + example] for example in os.listdir("examples")]
|
| 74 |
|
| 75 |
# Create Gradio interface
|
| 76 |
demo = gr.Interface(
|
|
|
|
| 80 |
gr.Label(num_top_classes=5, label="Predictions"),
|
| 81 |
gr.Image(label="Defects"),
|
| 82 |
],
|
| 83 |
+
# examples=example_list,
|
| 84 |
title=title,
|
| 85 |
description=description,
|
| 86 |
)
|