Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,13 +91,6 @@ if __name__ == "__main__":
|
|
| 91 |
value=0.45,
|
| 92 |
)
|
| 93 |
|
| 94 |
-
with gr.Accordion("Examples:"):
|
| 95 |
-
example_root = os.path.join(os.path.dirname(__file__), "assets", "example")
|
| 96 |
-
gr.Examples(
|
| 97 |
-
examples=[os.path.join(example_root, _) for _ in os.listdir(example_root) if
|
| 98 |
-
_.endswith("jpg")],
|
| 99 |
-
inputs=[input_img],
|
| 100 |
-
)
|
| 101 |
with gr.Column():
|
| 102 |
gr.Button(value="Predict Result:", interactive=False)
|
| 103 |
output_img = gr.Image(label=" ", interactive=False)
|
|
|
|
| 91 |
value=0.45,
|
| 92 |
)
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
with gr.Column():
|
| 95 |
gr.Button(value="Predict Result:", interactive=False)
|
| 96 |
output_img = gr.Image(label=" ", interactive=False)
|