ysharma HF staff commited on
Commit
573d13e
1 Parent(s): 2b025a1

removed legacy code

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,9 +6,6 @@ import requests
6
  #Streaming endpoint
7
  API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
8
 
9
- #Huggingface provided GPT4 OpenAI API Key
10
- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
11
-
12
  #Inferenec function
13
  def predict(openai_gpt4_key, system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
14
 
 
6
  #Streaming endpoint
7
  API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
8
 
 
 
 
9
  #Inferenec function
10
  def predict(openai_gpt4_key, system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
11