Spaces:
Sleeping
Sleeping
Synced repo using 'sync_with_huggingface' Github Action
Browse files
gpt.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
-
openai.api_key = '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'
|
3 |
def get_chat_completion(prompt, model="gpt-3.5-turbo"):
|
4 |
try:
|
5 |
response = openai.ChatCompletion.create(
|
|
|
1 |
+
|
|
|
2 |
def get_chat_completion(prompt, model="gpt-3.5-turbo"):
|
3 |
try:
|
4 |
response = openai.ChatCompletion.create(
|