update
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import openai
|
2 |
import gradio as gr
|
3 |
-
|
4 |
openai.api_key = "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"
|
5 |
|
6 |
def get_completion_from_messages(messages, model="gpt-3.5-turbo-0613", temperature=0):
|
|
|
1 |
import openai
|
2 |
import gradio as gr
|
3 |
+
import json
|
4 |
openai.api_key = "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"
|
5 |
|
6 |
def get_completion_from_messages(messages, model="gpt-3.5-turbo-0613", temperature=0):
|