bstraehle commited on
Commit
edd99e4
1 Parent(s): 9247b68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@
13
  # https://platform.openai.com/docs/assistants/tools
14
 
15
  import gradio as gr
16
- import datetime, openai, os, time
17
 
18
  from openai import OpenAI
19
  from utils import show_json
@@ -158,7 +158,7 @@ def chat(message, history):
158
  gr.ChatInterface(
159
  fn=chat,
160
  chatbot=gr.Chatbot(height=350),
161
- textbox=gr.MultimodalTextbox(placeholder="Ask anything", container=False, scale=7),
162
  title="Python Code Generator",
163
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
164
  clear_btn="Clear",
 
13
  # https://platform.openai.com/docs/assistants/tools
14
 
15
  import gradio as gr
16
+ import openai, os, time
17
 
18
  from openai import OpenAI
19
  from utils import show_json
 
158
  gr.ChatInterface(
159
  fn=chat,
160
  chatbot=gr.Chatbot(height=350),
161
+ textbox=gr.Textbox(placeholder="Ask anything", container=False, scale=7),
162
  title="Python Code Generator",
163
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
164
  clear_btn="Clear",