ysharma HF Staff commited on
Commit
7312f21
·
1 Parent(s): d332cd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -21,5 +21,11 @@ def chat_with_interpreter(message, history=[]):
21
  # Return this output so Gradio's ChatInterface can display it
22
  return output
23
 
24
- demo = gr.ChatInterface(fn=chat_with_interpreter, title="Open Interpreter Gradio Chatbot Demo").queue()
25
- demo.launch()
 
 
 
 
 
 
 
21
  # Return this output so Gradio's ChatInterface can display it
22
  return output
23
 
24
+ demo = gr.ChatInterface(fn=chat_with_interpreter,
25
+ title="Open-Interpreter Gradio ChatInterface",
26
+ description="Open Interpreter lets LLMs run code (Python, Javascript, Shell, and more) locally",
27
+ examples=["what is 2+2?", "Can you solve for x: 10x -65=0?", "What are top 10 headlines from BBC from last week?"],
28
+ clear_btn=None,
29
+ retry_btn=None,
30
+ undo_btn=None).queue()
31
+ demo.launch(debug=True)