simonduerr commited on
Commit
a35298e
1 Parent(s): bb28086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,8 +160,8 @@ def process_and_create_pull(icon_files,category, new_cateogry_check, new_categor
160
 
161
  def shownewcategory(new_category, check):
162
  if check:
163
- return gr.Textbox.update(visible=True)
164
- return gr.Textbox.update(visible=False)
165
 
166
 
167
  with gr.Blocks() as demo:
 
160
 
161
  def shownewcategory(new_category, check):
162
  if check:
163
+ return gr.Textbox(visible=True)
164
+ return gr.Textbox(visible=False)
165
 
166
 
167
  with gr.Blocks() as demo: