ysharma HF staff commited on
Commit
f3616e6
·
1 Parent(s): 6a332af

update together api link

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from text_generation import Client, InferenceAPIClient
7
  #Streaming endpoint for OPENAI ChatGPT
8
  API_URL = "https://api.openai.com/v1/chat/completions"
9
  #Streaming endpoint for OPENCHATKIT
10
- API_URL_TGTHR = os.getenv['API_URL_TGTHR']
11
 
12
  #Predict function for CHATGPT
13
  def predict_chatgpt(inputs, top_p_chatgpt, temperature_chatgpt, openai_api_key, chat_counter_chatgpt, chatbot_chatgpt=[], history=[]):
 
7
  #Streaming endpoint for OPENAI ChatGPT
8
  API_URL = "https://api.openai.com/v1/chat/completions"
9
  #Streaming endpoint for OPENCHATKIT
10
+ API_URL_TGTHR = os.getenv('API_URL_TGTHR')
11
 
12
  #Predict function for CHATGPT
13
  def predict_chatgpt(inputs, top_p_chatgpt, temperature_chatgpt, openai_api_key, chat_counter_chatgpt, chatbot_chatgpt=[], history=[]):