Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1005,7 +1005,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
| 1005 |
completion = openai.ChatCompletion.create(
|
| 1006 |
model="gpt-3.5-turbo",
|
| 1007 |
messages=messages,
|
| 1008 |
-
functions =
|
| 1009 |
function_call = "auto",
|
| 1010 |
)
|
| 1011 |
|
|
|
|
| 1005 |
completion = openai.ChatCompletion.create(
|
| 1006 |
model="gpt-3.5-turbo",
|
| 1007 |
messages=messages,
|
| 1008 |
+
functions = main,
|
| 1009 |
function_call = "auto",
|
| 1010 |
)
|
| 1011 |
|