Spaces:
Sleeping
Sleeping
update button style
Browse files
app.py
CHANGED
@@ -319,7 +319,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
|
|
319 |
with gr.Column():
|
320 |
original_image = gr.Image(visible = False)
|
321 |
workbench_image = gr.Image(label="Workbench Image")
|
322 |
-
classify_image_button = gr.Button("Classify Image")
|
323 |
|
324 |
# with gr.Column():
|
325 |
# #segmented_image = gr.outputs.Image(label="SAM output",type='numpy')
|
@@ -380,7 +380,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
|
|
380 |
|
381 |
exp_gallery = gr.Gallery(label="Explanation Heatmaps for top 5 predicted classes", show_label=False,elem_id="gallery",columns=[5], rows=[1],height='auto', allow_preview=True, preview=None)
|
382 |
|
383 |
-
generate_explanations = gr.Button("Generate Explanations")
|
384 |
|
385 |
# with gr.Accordion('Closest Images'):
|
386 |
# gr.Markdown("Finding the closest images in the dataset")
|
@@ -408,7 +408,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
|
|
408 |
closest_gallery = gr.Gallery(label="Closest Images", show_label=False,elem_id="gallery",columns=[5], rows=[1],height='auto', allow_preview=True, preview=None)
|
409 |
#.style(grid=[1, 5], height=200, width=200)
|
410 |
|
411 |
-
find_closest_btn = gr.Button("Find Closest Images")
|
412 |
|
413 |
#segment_button.click(segment_image, inputs=input_image, outputs=segmented_image)
|
414 |
classify_image_button.click(classify_image, inputs=[original_image,model_name], outputs=class_predicted)
|
@@ -421,7 +421,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
|
|
421 |
with gr.Row():
|
422 |
diagram= gr.Image(label = 'Bar Chart')
|
423 |
|
424 |
-
generate_diagram = gr.Button("Generate Diagram")
|
425 |
|
426 |
|
427 |
|
|
|
319 |
with gr.Column():
|
320 |
original_image = gr.Image(visible = False)
|
321 |
workbench_image = gr.Image(label="Workbench Image")
|
322 |
+
classify_image_button = gr.Button("Classify Image",icon = "https://www.svgrepo.com/show/13672/play-button.svg")
|
323 |
|
324 |
# with gr.Column():
|
325 |
# #segmented_image = gr.outputs.Image(label="SAM output",type='numpy')
|
|
|
380 |
|
381 |
exp_gallery = gr.Gallery(label="Explanation Heatmaps for top 5 predicted classes", show_label=False,elem_id="gallery",columns=[5], rows=[1],height='auto', allow_preview=True, preview=None)
|
382 |
|
383 |
+
generate_explanations = gr.Button("Generate Explanations",icon = "https://www.svgrepo.com/show/13672/play-button.svg")
|
384 |
|
385 |
# with gr.Accordion('Closest Images'):
|
386 |
# gr.Markdown("Finding the closest images in the dataset")
|
|
|
408 |
closest_gallery = gr.Gallery(label="Closest Images", show_label=False,elem_id="gallery",columns=[5], rows=[1],height='auto', allow_preview=True, preview=None)
|
409 |
#.style(grid=[1, 5], height=200, width=200)
|
410 |
|
411 |
+
find_closest_btn = gr.Button("Find Closest Images",icon = "https://www.svgrepo.com/show/13672/play-button.svg")
|
412 |
|
413 |
#segment_button.click(segment_image, inputs=input_image, outputs=segmented_image)
|
414 |
classify_image_button.click(classify_image, inputs=[original_image,model_name], outputs=class_predicted)
|
|
|
421 |
with gr.Row():
|
422 |
diagram= gr.Image(label = 'Bar Chart')
|
423 |
|
424 |
+
generate_diagram = gr.Button("Generate Diagram",icon = "https://www.svgrepo.com/show/13672/play-button.svg")
|
425 |
|
426 |
|
427 |
|