immanuelzhu commited on
Commit
119893c
·
verified ·
1 Parent(s): 2c2fc7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,10 +91,10 @@ with gr.Blocks() as demo:
91
  with gr.Column(scale=12):
92
  user_input = gr.Textbox(show_label=False, placeholder="Input...(Example: Write a 10000-word China travel guide)", lines=10, container=False)
93
  with gr.Column(min_width=32, scale=1):
94
- submitBtn = gr.Button("Submit")
95
  with gr.Column(scale=1):
96
  prompt_input = gr.Textbox(show_label=False, placeholder="Prompt", lines=10, container=False)
97
- pBtn = gr.Button("Set Prompt")
98
  with gr.Column(scale=1):
99
  emptyBtn = gr.Button("Clear History")
100
  max_length = gr.Slider(0, 128000, value=10240, step=1.0, label="Maximum length(Input + Output)",
 
91
  with gr.Column(scale=12):
92
  user_input = gr.Textbox(show_label=False, placeholder="Input...(Example: Write a 10000-word China travel guide)", lines=10, container=False)
93
  with gr.Column(min_width=32, scale=1):
94
+ submitBtn = gr.Button("提交")
95
  with gr.Column(scale=1):
96
  prompt_input = gr.Textbox(show_label=False, placeholder="Prompt", lines=10, container=False)
97
+ pBtn = gr.Button("Set Prompt设置文案模版")
98
  with gr.Column(scale=1):
99
  emptyBtn = gr.Button("Clear History")
100
  max_length = gr.Slider(0, 128000, value=10240, step=1.0, label="Maximum length(Input + Output)",