alok94 commited on
Commit
b5d8e6e
·
1 Parent(s): f6bd375

structure change

Browse files
Files changed (1) hide show
  1. app.py +14 -15
app.py CHANGED
@@ -373,27 +373,26 @@ text-align: center;
373
  with gr.Blocks(css=css) as demo:
374
 
375
  with gr.Row():
376
- with gr.Column():
377
- gr.Markdown("<h1>Skin Cancer Classifier</h1>", elem_id='title_head')
378
- gr.Markdown("<h2>By Alok</h2>", elem_id="name_head")
379
  with gr.Row():
380
  with gr.Column():
381
  gr.Markdown("<h3>Browse or Select from given Image</h3>", elem_id='info')
382
- with gr.Row():
383
- img_upload=gr.Image(type="pil")
384
- with gr.Row():
385
- with gr.Column():
386
- clear=gr.ClearButton(img_upload)
387
- with gr.Column():
388
- btn=gr.Button("Identify")
389
 
390
  with gr.Column():
391
- gr.Markdown("Most probable skin condition")
392
- label=gr.Label("")
393
- gr.Markdown("Other possible values")
394
- bar = gr.BarPlot()
395
  with gr.Row():
396
- gry=gr.Gallery(value=skin_images, columns=3, rows=2, show_label=False)
 
 
 
 
397
 
398
 
399
  btn.click(predict_digit,inputs=[img_upload],outputs=[label,bar])
 
373
  with gr.Blocks(css=css) as demo:
374
 
375
  with gr.Row():
376
+
377
+ gr.Markdown("<h1>Skin Cancer Classifier</h1>", elem_id='title_head')
378
+ gr.Markdown("<h2>By Alok</h2>", elem_id="name_head")
379
  with gr.Row():
380
  with gr.Column():
381
  gr.Markdown("<h3>Browse or Select from given Image</h3>", elem_id='info')
382
+ img_upload=gr.Image(type="pil")
383
+ with gr.Column():
384
+ clear=gr.ClearButton(img_upload)
385
+ with gr.Column():
386
+ btn=gr.Button("Identify")
 
 
387
 
388
  with gr.Column():
389
+ gry=gr.Gallery(value=skin_images, columns=3, rows=2, show_label=False)
 
 
 
390
  with gr.Row():
391
+ gr.Markdown("Most probable skin condition")
392
+ label=gr.Label("")
393
+ gr.Markdown("Other possible values")
394
+ bar = gr.BarPlot()
395
+
396
 
397
 
398
  btn.click(predict_digit,inputs=[img_upload],outputs=[label,bar])