Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -758,7 +758,6 @@ The response should be in HTML format with appropriate styling."""
|
|
758 |
|
759 |
demo = gr.Blocks(css=custom_css, theme=theme)
|
760 |
|
761 |
-
|
762 |
with demo:
|
763 |
with gr.Tabs(elem_classes="main-tabs") as tabs:
|
764 |
with gr.Tab("Visual AI Assistant", elem_id="mouse-tab", elem_classes="mouse-tab"):
|
@@ -769,6 +768,9 @@ The response should be in HTML format with appropriate styling."""
|
|
769 |
#NEW - ๊ฒ์ ๋ชจ๋ ์ํ ์ถ๊ฐ
|
770 |
search_mode = gr.State(False)
|
771 |
|
|
|
|
|
|
|
772 |
with ms.Application() as app:
|
773 |
with antd.ConfigProvider():
|
774 |
#NEW - ๋ชจ๋ ์ ํ ๋ผ๋์ค ๋ฒํผ ์ถ๊ฐ
|
@@ -884,6 +886,7 @@ The response should be in HTML format with appropriate styling."""
|
|
884 |
""")
|
885 |
|
886 |
|
|
|
887 |
header = gr.HTML("""
|
888 |
<div class="window-frame">
|
889 |
<div class="window-header">
|
|
|
758 |
|
759 |
demo = gr.Blocks(css=custom_css, theme=theme)
|
760 |
|
|
|
761 |
with demo:
|
762 |
with gr.Tabs(elem_classes="main-tabs") as tabs:
|
763 |
with gr.Tab("Visual AI Assistant", elem_id="mouse-tab", elem_classes="mouse-tab"):
|
|
|
768 |
#NEW - ๊ฒ์ ๋ชจ๋ ์ํ ์ถ๊ฐ
|
769 |
search_mode = gr.State(False)
|
770 |
|
771 |
+
# code_output ์ ์ ์ถ๊ฐ
|
772 |
+
code_output = gr.State("")
|
773 |
+
|
774 |
with ms.Application() as app:
|
775 |
with antd.ConfigProvider():
|
776 |
#NEW - ๋ชจ๋ ์ ํ ๋ผ๋์ค ๋ฒํผ ์ถ๊ฐ
|
|
|
886 |
""")
|
887 |
|
888 |
|
889 |
+
|
890 |
header = gr.HTML("""
|
891 |
<div class="window-frame">
|
892 |
<div class="window-header">
|