bstraehle commited on
Commit
f22b687
1 Parent(s): eda2f20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -46,7 +46,7 @@ def extract_content_values(data):
46
 
47
  return content_values
48
 
49
- def chat(message, history, system_prompt):
50
  global _client, _assistant, _thread
51
 
52
  if _client == None:
@@ -86,8 +86,8 @@ gr.ChatInterface(
86
  retry_btn=None,
87
  undo_btn=None,
88
  clear_btn="Clear",
89
- #multimodal=True,
90
- additional_inputs=[
91
- gr.Textbox("You are a personal math tutor. Answer questions briefly, in a sentence or less.", label="System Prompt"),
92
- ],
93
  ).launch()
 
46
 
47
  return content_values
48
 
49
+ def chat(message, history):
50
  global _client, _assistant, _thread
51
 
52
  if _client == None:
 
86
  retry_btn=None,
87
  undo_btn=None,
88
  clear_btn="Clear",
89
+ multimodal=True,
90
+ #additional_inputs=[
91
+ # gr.Textbox("You are a personal math tutor. Answer questions briefly, in a sentence or less.", label="System Prompt"),
92
+ #],
93
  ).launch()