Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|