Update app.py
Browse files
app.py
CHANGED
|
@@ -153,12 +153,12 @@ def create_ui():
|
|
| 153 |
app_py_content = gr.Code(language="python", label="app.py 내용")
|
| 154 |
|
| 155 |
|
| 156 |
-
for _, button, space in space_rows:
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
|
| 163 |
|
| 164 |
return demo
|
|
|
|
| 153 |
app_py_content = gr.Code(language="python", label="app.py 내용")
|
| 154 |
|
| 155 |
|
| 156 |
+
for _, button, space in space_rows:
|
| 157 |
+
button.click(
|
| 158 |
+
lambda s=space: on_select(s),
|
| 159 |
+
inputs=[],
|
| 160 |
+
outputs=[info_output, screenshot_output, app_py_content]
|
| 161 |
+
)
|
| 162 |
|
| 163 |
|
| 164 |
return demo
|