Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 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 + "!!"
|