simonduerr commited on
Commit
bb28086
1 Parent(s): 7d090f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -171,11 +171,10 @@ with gr.Blocks() as demo:
171
  github_user = gr.Textbox(label="Your GitHub Username", placeholder="GitHub username is used to communicate with you")
172
  icon_files = gr.File(label="Icon files", file_types=["svg"], file_count="multiple")
173
  with gr.Row():
174
- with gr.Box():
175
- category = gr.Dropdown(label="Category", choices=categories)
176
- new_category_check = gr.Checkbox(info="New category?", label="Desired category not listed?")
177
- new_category = gr.Textbox(label="New category", visible=False)
178
- new_category_check.change(fn=shownewcategory, inputs=[new_category,new_category_check], outputs=new_category)
179
  license = gr.Dropdown(label="License", choices=licenses)
180
  copyright = gr.Checkbox(info="Copyright", label="I certify that I own the copyright of the submitted illustrations or have appropriately credited the original creator as required by the license of the illustration.")
181
  btn = gr.Button(value="Submit illustrations")
 
171
  github_user = gr.Textbox(label="Your GitHub Username", placeholder="GitHub username is used to communicate with you")
172
  icon_files = gr.File(label="Icon files", file_types=["svg"], file_count="multiple")
173
  with gr.Row():
174
+ category = gr.Dropdown(label="Category", choices=categories)
175
+ new_category_check = gr.Checkbox(info="New category?", label="Desired category not listed?")
176
+ new_category = gr.Textbox(label="New category", visible=False)
177
+ new_category_check.change(fn=shownewcategory, inputs=[new_category,new_category_check], outputs=new_category)
 
178
  license = gr.Dropdown(label="License", choices=licenses)
179
  copyright = gr.Checkbox(info="Copyright", label="I certify that I own the copyright of the submitted illustrations or have appropriately credited the original creator as required by the license of the illustration.")
180
  btn = gr.Button(value="Submit illustrations")