anferico commited on
Commit
ffa7a31
·
1 Parent(s): 96c8645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -10,13 +10,13 @@ def enable_second_task(secret):
10
  gr.Textbox.update(visible=True),
11
  gr.Button.update(visible=True)
12
  ]
13
- return [
14
- gr.Textbox.update(visible=True),
15
- gr.Button.update(visible=True),
16
- gr.Textbox.update(visible=False),
17
- gr.Textbox.update(visible=False),
18
- gr.Button.update(visible=False)
19
- ]
20
 
21
  def greet(name):
22
  return "Hello " + name + "!!"
 
10
  gr.Textbox.update(visible=True),
11
  gr.Button.update(visible=True)
12
  ]
13
+ return [
14
+ gr.Textbox.update(visible=True),
15
+ gr.Button.update(visible=True),
16
+ gr.Textbox.update(visible=False),
17
+ gr.Textbox.update(visible=False),
18
+ gr.Button.update(visible=False)
19
+ ]
20
 
21
  def greet(name):
22
  return "Hello " + name + "!!"