Spaces:
Runtime error
Runtime error
wdsawdsawdadad
commited on
Commit
•
4166b67
1
Parent(s):
3575e16
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import transformers
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Set up the OpenAI API client
|
6 |
-
openai.api_key = "
|
7 |
|
8 |
# Define the chat function for OpenAI API
|
9 |
def openai_chat(api_key, model, message):
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Set up the OpenAI API client
|
6 |
+
openai.api_key = "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"
|
7 |
|
8 |
# Define the chat function for OpenAI API
|
9 |
def openai_chat(api_key, model, message):
|