furusu commited on
Commit
c954be3
1 Parent(s): f16acf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ def predict(target_tag, sort_by="descend"):
23
  demo = gr.Interface(
24
  fn=predict,
25
  inputs=[
26
- gr.Dropdown(choices=tags, label="Target tag", value="otoko no ko"),
27
- gr.Dropdown(choices=["ascending", "descending"], label="Sort by", value="descending")
28
  ],
29
  outputs=gr.Label(num_top_classes=50),
30
  )
 
23
  demo = gr.Interface(
24
  fn=predict,
25
  inputs=[
26
+ gr.Textbox(label="Target tag", value="otoko no ko"),
27
+ gr.Radio(choices=["descending", "ascending"], label="Sort by", value="descending")
28
  ],
29
  outputs=gr.Label(num_top_classes=50),
30
  )