baconnier commited on
Commit
81a41a0
·
verified ·
1 Parent(s): 03f86f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -136,12 +136,14 @@ demo = gr.ChatInterface(
136
  color_accent_soft_dark="transparent"
137
  ),
138
  css=css,
139
- retry_btn="Retry",
140
- undo_btn="Undo",
141
- clear_btn="Clear",
142
- submit_btn="Send",
143
  description="AI Prompt Engineering Tutor: Master the art of crafting effective prompts",
144
- chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER)
 
 
 
 
 
 
145
  )
146
 
147
  if __name__ == "__main__":
 
136
  color_accent_soft_dark="transparent"
137
  ),
138
  css=css,
 
 
 
 
139
  description="AI Prompt Engineering Tutor: Master the art of crafting effective prompts",
140
+ chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER),
141
+ additional_inputs=[
142
+ gr.Button("Retry", variant="secondary"),
143
+ gr.Button("Undo", variant="secondary"),
144
+ gr.Button("Clear", variant="secondary"),
145
+ ],
146
+ submit_btn=gr.Button("Send", variant="primary"),
147
  )
148
 
149
  if __name__ == "__main__":