snajmark commited on
Commit
4c110f6
·
1 Parent(s): 4bebbf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -454,9 +454,9 @@ with gr.Blocks(css=css_styling, title=page_title, theme=osium_theme) as demo:
454
  gr.Markdown("### The target antimicrobial activity of your textile coating")
455
  antimicrobial_activity_target = gr.Text(label="Enter the minimum acceptable antimicrobial activity for your textile coating")
456
  gr.Markwdown("### Your constraints")
457
- substrate = gr.Dropdown(label="Your substrate", choices=[c in test_data_columns if c.startwith("Substrate")])
458
  num_washing_cycles = gr.Text("Your number of washing cycles")
459
- microorganism = gr.Dropdown(label="Microorganism", choices=[c in test_data_columns if c.startwith("Microorganism")])
460
 
461
  with gr.Column():
462
  with gr.Row():
 
454
  gr.Markdown("### The target antimicrobial activity of your textile coating")
455
  antimicrobial_activity_target = gr.Text(label="Enter the minimum acceptable antimicrobial activity for your textile coating")
456
  gr.Markwdown("### Your constraints")
457
+ substrate = gr.Dropdown(label="Your substrate", choices=[c for c in test_data_columns if c.startwith("Substrate")])
458
  num_washing_cycles = gr.Text("Your number of washing cycles")
459
+ microorganism = gr.Dropdown(label="Microorganism", choices=[c for c in test_data_columns if c.startwith("Microorganism")])
460
 
461
  with gr.Column():
462
  with gr.Row():