bstraehle commited on
Commit
7fe3430
1 Parent(s): 5fca11d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -159,6 +159,9 @@ gr.ChatInterface(
159
  textbox=gr.MultimodalTextbox(placeholder="Ask anything", container=False, scale=7),
160
  title="Python Code Generator",
161
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
 
 
 
162
  examples=[
163
  [{"text": "Generate: NumPy/Pandas/Matplotlib & yfinance trading app", "files": []}],
164
  [{"text": "Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\"", "files": []}],
 
159
  textbox=gr.MultimodalTextbox(placeholder="Ask anything", container=False, scale=7),
160
  title="Python Code Generator",
161
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
162
+ clear_btn="Clear",
163
+ retry_btn=None,
164
+ undo_btn=None,
165
  examples=[
166
  [{"text": "Generate: NumPy/Pandas/Matplotlib & yfinance trading app", "files": []}],
167
  [{"text": "Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\"", "files": []}],