openfree commited on
Commit
a0c3b88
·
verified ·
1 Parent(s): 83e5933

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -761,8 +761,8 @@ The response should be in HTML format with appropriate styling."""
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,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
- with gr.Row():
777
- mode = gr.Radio(
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
- 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 {
 
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 {