Cran-May commited on
Commit
184f581
1 Parent(s): 1638e6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -116,12 +116,13 @@ with gr.Blocks(
116
  msg = gr.Textbox(
117
  label="来问问兮辞吧……",
118
  placeholder="兮辞折寿中……",
119
- show_label=False,
120
  ).style(container=False)
121
  with gr.Column():
122
  submit = gr.Button("Submit / 开凹!")
123
  stop = gr.Button("Stop / 全局时空断裂")
124
  clear = gr.Button("Clear / 打扫群内垃圾")
 
125
  with gr.Column(min_width=80, scale=1):
126
  with gr.Tab(label="设置参数"):
127
  top_p = gr.Slider(
@@ -155,6 +156,7 @@ with gr.Blocks(
155
  """警告:该模型可能会生成事实上或道德上不正确的文本。NLPark和兮辞对此不承担任何责任。"""
156
  )
157
 
 
158
  # Pressing Enter
159
  submit_event = msg.submit(
160
  fn=user,
 
116
  msg = gr.Textbox(
117
  label="来问问兮辞吧……",
118
  placeholder="兮辞折寿中……",
119
+ show_label=True,
120
  ).style(container=False)
121
  with gr.Column():
122
  submit = gr.Button("Submit / 开凹!")
123
  stop = gr.Button("Stop / 全局时空断裂")
124
  clear = gr.Button("Clear / 打扫群内垃圾")
125
+ with gr.Row():
126
  with gr.Column(min_width=80, scale=1):
127
  with gr.Tab(label="设置参数"):
128
  top_p = gr.Slider(
 
156
  """警告:该模型可能会生成事实上或道德上不正确的文本。NLPark和兮辞对此不承担任何责任。"""
157
  )
158
 
159
+
160
  # Pressing Enter
161
  submit_event = msg.submit(
162
  fn=user,