seawolf2357 commited on
Commit
5b7954c
·
verified ·
1 Parent(s): 6e23af4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -109,7 +109,12 @@ with gr.Blocks(css_paths="app.css") as demo:
109
  with antd.Col(span=24, md=16):
110
  with ms.Div(elem_classes="right_panel"):
111
  # 우측 상단에 setting 버튼들 추가
112
- with antd.Flex(justify="end", gap="small", style={"padding": "10px"}):
 
 
 
 
 
113
  settingPromptBtn = antd.Button(
114
  "⚙️ set system Prompt", type="default")
115
  codeBtn = antd.Button("🧑‍💻 view code", type="default")
 
109
  with antd.Col(span=24, md=16):
110
  with ms.Div(elem_classes="right_panel"):
111
  # 우측 상단에 setting 버튼들 추가
112
+ gr.HTML("""
113
+ <div style="display: flex; justify-content: flex-end; gap: 8px; padding: 10px;">
114
+ <div id="setting-buttons"></div>
115
+ </div>
116
+ """)
117
+ with antd.Flex(gap="small", elem_classes="setting-buttons"):
118
  settingPromptBtn = antd.Button(
119
  "⚙️ set system Prompt", type="default")
120
  codeBtn = antd.Button("🧑‍💻 view code", type="default")