Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import os
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
-
# openai.api_key = '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'
|
6 |
-
|
7 |
#1: OpenAI Chat
|
8 |
def openai_chat(prompt):
|
9 |
completions = openai.Completion.create(
|
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
|
|
|
|
5 |
#1: OpenAI Chat
|
6 |
def openai_chat(prompt):
|
7 |
completions = openai.Completion.create(
|