xxx1 commited on
Commit
9ec3640
·
1 Parent(s): a1e6e8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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):