Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def extract_content_values(data):
|
|
| 46 |
|
| 47 |
return content_values
|
| 48 |
|
| 49 |
-
def chat(message, history
|
| 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 |
-
|
| 90 |
-
additional_inputs=[
|
| 91 |
-
|
| 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()
|