Allen Park commited on
Commit
b9b1597
·
1 Parent(s): 6fe41d2

add visibility (false) for parent (gr.Group); possible breaking change as no trigger to make visibility true again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(css=css) as demo:
165
  with gr.Row():
166
  question = gr.Textbox(label="Question", scale=9)
167
  u = gr.UploadButton("Upload", file_count="single", scale=1)
168
- with gr.Group():
169
  file_name = gr.Markdown("", visible=False)
170
  c = gr.ClearButton([u, file_name], visible=False, scale=1)
171
  # d = gr.DownloadButton("Download the file", visible=False, scale=1)
 
165
  with gr.Row():
166
  question = gr.Textbox(label="Question", scale=9)
167
  u = gr.UploadButton("Upload", file_count="single", scale=1)
168
+ with gr.Group(visible=False):
169
  file_name = gr.Markdown("", visible=False)
170
  c = gr.ClearButton([u, file_name], visible=False, scale=1)
171
  # d = gr.DownloadButton("Download the file", visible=False, scale=1)