Spaces:
Runtime error
Runtime error
Update Tags_Extractor.py
Browse files- Tags_Extractor.py +1 -1
Tags_Extractor.py
CHANGED
@@ -31,7 +31,7 @@ class Tags:
|
|
31 |
]
|
32 |
|
33 |
# Call OpenAI GPT-3.5-turbo
|
34 |
-
chat_completion = self.client.completions.create(model="ChatGPT", prompt=conversation, max_tokens=500)
|
35 |
response = chat_completion.choices[0].message.content
|
36 |
return response
|
37 |
|
|
|
31 |
]
|
32 |
|
33 |
# Call OpenAI GPT-3.5-turbo
|
34 |
+
chat_completion = self.client.chat.completions.create(model="ChatGPT", prompt=conversation, max_tokens=500)
|
35 |
response = chat_completion.choices[0].message.content
|
36 |
return response
|
37 |
|