Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import openai
|
2 |
import os
|
|
|
3 |
openai.api_key=os.getenv('openai_appkey')
|
4 |
# doc is here https://platform.openai.com/docs/guides/chat/chat-vs-completions?utm_medium=email&_hsmi=248334739&utm_content=248334739&utm_source=hs_email
|
5 |
def get_chatgpt(input_text):
|
|
|
1 |
import openai
|
2 |
import os
|
3 |
+
import gradio as gr
|
4 |
openai.api_key=os.getenv('openai_appkey')
|
5 |
# doc is here https://platform.openai.com/docs/guides/chat/chat-vs-completions?utm_medium=email&_hsmi=248334739&utm_content=248334739&utm_source=hs_email
|
6 |
def get_chatgpt(input_text):
|