Karthikeyan commited on
Commit
9a3955f
1 Parent(s): ce0a839

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -288,20 +288,20 @@ class ChemicalIdentifier:
288
  with gr.Column(scale=0.10, min_width=160):
289
  upload_button = gr.UploadButton(
290
  "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
291
- elem_classes="heightfit",
292
  file_count = "multiple")
293
  with gr.Row():
294
  with gr.Column(scale=1, min_width=0):
295
  excel_input = gr.File(elem_classes="heightfit1",label = "excel file",file_types = [".xlsx"])
296
  with gr.Row():
297
  with gr.Column(scale=1, min_width=0):
298
- analyse_btn = gr.Button(value="Analyse")
299
  with gr.Row():
300
  with gr.Column(scale=1, min_width=0):
301
  answer = gr.Textbox(value="",label='Chemicals :',show_label=True, placeholder="",lines=5)
302
  with gr.Row():
303
  with gr.Column(scale=1, min_width=0):
304
- compare_btn = gr.Button(value="valid")
305
  with gr.Row():
306
  with gr.Column(scale=1, min_width=0):
307
  compared_result = gr.Textbox(value="",label='valid chemicals :',show_label=True, placeholder="",lines=5)
 
288
  with gr.Column(scale=0.10, min_width=160):
289
  upload_button = gr.UploadButton(
290
  "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
291
+ elem_classes="heightfit",variant="primary",
292
  file_count = "multiple")
293
  with gr.Row():
294
  with gr.Column(scale=1, min_width=0):
295
  excel_input = gr.File(elem_classes="heightfit1",label = "excel file",file_types = [".xlsx"])
296
  with gr.Row():
297
  with gr.Column(scale=1, min_width=0):
298
+ analyse_btn = gr.Button(value="Analyse",variant="primary")
299
  with gr.Row():
300
  with gr.Column(scale=1, min_width=0):
301
  answer = gr.Textbox(value="",label='Chemicals :',show_label=True, placeholder="",lines=5)
302
  with gr.Row():
303
  with gr.Column(scale=1, min_width=0):
304
+ compare_btn = gr.Button(value="valid",variant="primary")
305
  with gr.Row():
306
  with gr.Column(scale=1, min_width=0):
307
  compared_result = gr.Textbox(value="",label='valid chemicals :',show_label=True, placeholder="",lines=5)