Spaces:
Running
Running
simonduerr
commited on
Commit
•
a35298e
1
Parent(s):
bb28086
Update app.py
Browse files
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
|
164 |
-
return gr.Textbox
|
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:
|