Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -761,8 +761,8 @@ The response should be in HTML format with appropriate styling."""
|
|
761 |
|
762 |
|
763 |
with demo:
|
764 |
-
|
765 |
-
|
766 |
setting = gr.State({
|
767 |
"system": SystemPrompt,
|
768 |
})
|
@@ -773,8 +773,8 @@ The response should be in HTML format with appropriate styling."""
|
|
773 |
with ms.Application() as app:
|
774 |
with antd.ConfigProvider():
|
775 |
#NEW - 모드 선택 라디오 버튼 추가
|
776 |
-
|
777 |
-
|
778 |
choices=["Generate", "Generate + Web Search"],
|
779 |
label="Mode",
|
780 |
value="Generate",
|
@@ -782,8 +782,8 @@ The response should be in HTML format with appropriate styling."""
|
|
782 |
elem_classes="mode-selector"
|
783 |
)
|
784 |
|
785 |
-
|
786 |
-
|
787 |
<div class="thinking-container">
|
788 |
<style>
|
789 |
.custom-textarea {
|
|
|
761 |
|
762 |
|
763 |
with demo:
|
764 |
+
with gr.Tabs(elem_classes="main-tabs") as tabs:
|
765 |
+
with gr.Tab("Visual AI Assistant", elem_id="mouse-tab", elem_classes="mouse-tab"):
|
766 |
setting = gr.State({
|
767 |
"system": SystemPrompt,
|
768 |
})
|
|
|
773 |
with ms.Application() as app:
|
774 |
with antd.ConfigProvider():
|
775 |
#NEW - 모드 선택 라디오 버튼 추가
|
776 |
+
with gr.Row():
|
777 |
+
mode = gr.Radio(
|
778 |
choices=["Generate", "Generate + Web Search"],
|
779 |
label="Mode",
|
780 |
value="Generate",
|
|
|
782 |
elem_classes="mode-selector"
|
783 |
)
|
784 |
|
785 |
+
with antd.Drawer(open=False, title="AI is Creating...", placement="left", width="750px") as code_drawer:
|
786 |
+
gr.HTML("""
|
787 |
<div class="thinking-container">
|
788 |
<style>
|
789 |
.custom-textarea {
|