Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -267,21 +267,21 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue=page_utils.KALBE_THEME_COLOR,
|
|
267 |
|
268 |
gr.Markdown("## Image Examples")
|
269 |
gr.Examples(
|
270 |
-
examples=[os.path.join(examples_dir, "ISIC_0000108_downsampled.
|
271 |
-
os.path.join(examples_dir, "ISIC_0000142_downsampled.
|
272 |
-
os.path.join(examples_dir, "ISIC_0012792_downsampled.
|
273 |
-
os.path.join(examples_dir, "ISIC_0024452.
|
274 |
-
os.path.join(examples_dir, "ISIC_0025957.
|
275 |
-
os.path.join(examples_dir, "ISIC_0026876.
|
276 |
-
os.path.join(examples_dir, "ISIC_0027385.
|
277 |
-
os.path.join(examples_dir, "ISIC_0030956.
|
278 |
],
|
279 |
inputs=inp_img,
|
280 |
outputs=out_txt,
|
281 |
fn=image_classifier,
|
282 |
cache_examples=False,
|
283 |
)
|
284 |
-
gr.Markdown(line_breaks=True, value='Author:
|
285 |
|
286 |
# demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|
287 |
app.launch(share=True)
|
|
|
267 |
|
268 |
gr.Markdown("## Image Examples")
|
269 |
gr.Examples(
|
270 |
+
examples=[os.path.join(examples_dir, "ISIC_0000108_downsampled.jpg"),
|
271 |
+
os.path.join(examples_dir, "ISIC_0000142_downsampled.jpg"),
|
272 |
+
os.path.join(examples_dir, "ISIC_0012792_downsampled.jpg"),
|
273 |
+
os.path.join(examples_dir, "ISIC_0024452.jpg"),
|
274 |
+
os.path.join(examples_dir, "ISIC_0025957.jpg"),
|
275 |
+
os.path.join(examples_dir, "ISIC_0026876.jpg"),
|
276 |
+
os.path.join(examples_dir, "ISIC_0027385.jpg"),
|
277 |
+
os.path.join(examples_dir, "ISIC_0030956.jpg"),
|
278 |
],
|
279 |
inputs=inp_img,
|
280 |
outputs=out_txt,
|
281 |
fn=image_classifier,
|
282 |
cache_examples=False,
|
283 |
)
|
284 |
+
gr.Markdown(line_breaks=True, value='Author: M HAIKAL FEBRIAN P (haikalphona23@gmail.com.com) <div class="row"><a href="https://github.com/HAikalfebrianp96?tab=repositories"><img alt="GitHub" src="https://img.shields.io/badge/haikal%20phona-000000?logo=github"> </div>')
|
285 |
|
286 |
# demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|
287 |
app.launch(share=True)
|