Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -155,18 +155,7 @@ def create_ui():
|
|
155 |
with gr.Column(scale=1):
|
156 |
info_output = gr.Textbox(label="Space 정보 및 요약", lines=16)
|
157 |
app_py_content = gr.Code(language="python", label="app.py 내용")
|
158 |
-
|
159 |
-
for _, button, space in space_rows:
|
160 |
-
button.click(
|
161 |
-
lambda s=space: on_select(s),
|
162 |
-
inputs=[],
|
163 |
-
outputs=[info_output, app_py_content]
|
164 |
-
)
|
165 |
-
|
166 |
-
with gr.Column(scale=1):
|
167 |
-
info_output = gr.Textbox(label="Space 정보 및 요약", lines=16)
|
168 |
-
app_py_content = gr.Code(language="python", label="app.py 내용")
|
169 |
-
screenshot_output = gr.Image(type="pil", label="Live 화면", height=360, width=540)
|
170 |
|
171 |
for _, button, space in space_rows:
|
172 |
button.click(
|
@@ -175,8 +164,4 @@ def create_ui():
|
|
175 |
outputs=[info_output, app_py_content, screenshot_output]
|
176 |
)
|
177 |
|
178 |
-
return demo
|
179 |
-
|
180 |
-
if __name__ == "__main__":
|
181 |
-
demo = create_ui()
|
182 |
-
demo.launch()
|
|
|
155 |
with gr.Column(scale=1):
|
156 |
info_output = gr.Textbox(label="Space 정보 및 요약", lines=16)
|
157 |
app_py_content = gr.Code(language="python", label="app.py 내용")
|
158 |
+
screenshot_output = gr.Image(type="pil", label="Live 화면", height=360, width=540)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
for _, button, space in space_rows:
|
161 |
button.click(
|
|
|
164 |
outputs=[info_output, app_py_content, screenshot_output]
|
165 |
)
|
166 |
|
167 |
+
return demo
|
|
|
|
|
|
|
|