Vihang28 commited on
Commit
3753415
·
verified ·
1 Parent(s): 5557f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -116,8 +116,7 @@ with gr.Blocks(theme=gr.themes.Glass(primary_hue=gr.themes.colors.stone)) as dem
116
  with gr.Row():
117
  with gr.Column():
118
  file_input = gr.File(type="filepath", label="Upload .pdf file")
119
- upload_button = gr.Button(value="Show Image/Names")
120
- output_img_name = gr.Textbox(label="Image names")
121
  img_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", object_fit="contain", height="auto",allow_preview=True)
122
 
123
  # output_img_thumb = gr.Image(type="filepath",label="Image Thumbnail")
@@ -125,9 +124,7 @@ with gr.Blocks(theme=gr.themes.Glass(primary_hue=gr.themes.colors.stone)) as dem
125
  with gr.Row():
126
  with gr.Column():
127
 
128
- image_name = gr.Textbox(label="""
129
- Note: To check the image provide single name and to compare provide both the image names separated by a comma(,)
130
- """)
131
  image_name_lst = []
132
  image_id_lst = []
133
  image_name_str = ''
 
116
  with gr.Row():
117
  with gr.Column():
118
  file_input = gr.File(type="filepath", label="Upload .pdf file")
119
+ upload_button = gr.Button(value="Show Images")
 
120
  img_gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", object_fit="contain", height="auto",allow_preview=True)
121
 
122
  # output_img_thumb = gr.Image(type="filepath",label="Image Thumbnail")
 
124
  with gr.Row():
125
  with gr.Column():
126
 
127
+ image_name = gr.Textbox(label="Name of the Graphs to be Compared")
 
 
128
  image_name_lst = []
129
  image_id_lst = []
130
  image_name_str = ''