Cartof commited on
Commit
cec053d
β€’
1 Parent(s): ccb72e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -108,11 +108,11 @@ with gr.Blocks() as demo:
108
  txt = gr.Textbox(show_label=False, placeholder="Please enter any of your needs here").style(container=False)
109
  with gr.Column(min_width=50, scale=1):
110
  submitBtn = gr.Button("πŸš€ Submit", variant="primary")
111
- #with gr.Row():
112
- #emptyBtn = gr.Button("🧹 New conversation")
113
- #retryBtn = gr.Button("πŸ”„ Resubmit")
114
- #delLastBtn = gr.Button("πŸ—‘οΈ Delete conversation")
115
- #reduceTokenBtn = gr.Button("♻️ Optimize Tokens")
116
 
117
  newSystemPrompt = gr.Textbox(show_label=True, placeholder=f"Setting System Prompt...", label="Change System prompt").style(container=True)
118
  systemPromptDisplay = gr.Textbox(show_label=True, value=initial_prompt, interactive=False, label="Current System prompt").style(container=True)
 
108
  txt = gr.Textbox(show_label=False, placeholder="Please enter any of your needs here").style(container=False)
109
  with gr.Column(min_width=50, scale=1):
110
  submitBtn = gr.Button("πŸš€ Submit", variant="primary")
111
+ with gr.Row():
112
+ emptyBtn = gr.Button("🧹 New conversation")
113
+ retryBtn = gr.Button("πŸ”„ Resubmit")
114
+ delLastBtn = gr.Button("πŸ—‘οΈ Delete conversation")
115
+ reduceTokenBtn = gr.Button("♻️ Optimize Tokens")
116
 
117
  newSystemPrompt = gr.Textbox(show_label=True, placeholder=f"Setting System Prompt...", label="Change System prompt").style(container=True)
118
  systemPromptDisplay = gr.Textbox(show_label=True, value=initial_prompt, interactive=False, label="Current System prompt").style(container=True)