rxavier commited on
Commit
52d04c3
1 Parent(s): 2319997

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -20,13 +20,11 @@ with gr.Blocks() as demo:
20
  ### This app takes an item ID and classifies its pictures as valid/invalid depending on whether they relate to the domain in which it's been listed.
21
  Input an item ID or select one of the preloaded examples below.""")
22
  with gr.Row():
 
23
  with gr.Column():
24
- item_id = gr.Textbox(label="Item ID")
25
- with gr.Column():
26
- use_title = gr.Checkbox(label="Use item title", value=True)
27
  threshold = gr.Number(label="Threshold", value=0.25, precision=2)
28
- with gr.Column():
29
- submit = gr.Button("Submit")
30
  gr.HTML("<hr>")
31
  domain = gr.Markdown()
32
  valid = gr.Gallery(label="Valid images").style(grid=[1, 2, 3], height="auto")
 
20
  ### This app takes an item ID and classifies its pictures as valid/invalid depending on whether they relate to the domain in which it's been listed.
21
  Input an item ID or select one of the preloaded examples below.""")
22
  with gr.Row():
23
+ item_id = gr.Textbox(label="Item ID")
24
  with gr.Column():
25
+ use_title = gr.Checkbox(label="Use translated item title", value=True)
 
 
26
  threshold = gr.Number(label="Threshold", value=0.25, precision=2)
27
+ submit = gr.Button("Submit")
 
28
  gr.HTML("<hr>")
29
  domain = gr.Markdown()
30
  valid = gr.Gallery(label="Valid images").style(grid=[1, 2, 3], height="auto")