wanglettes commited on
Commit
9184ef0
·
1 Parent(s): 1eb34ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from langchain.llms import OpenAI
3
  import gradio as gr
4
 
5
  model_name = "gpt-3.5-turbo"
6
- openai.api_key = "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"
7
  LLM = OpenAI(model_name=model_name, temperature=0.1)
8
 
9
  def create_history_messages(history: List[Tuple[str, str]]) -> List[dict]:
 
3
  import gradio as gr
4
 
5
  model_name = "gpt-3.5-turbo"
6
+ OpenAI.api_key = "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"
7
  LLM = OpenAI(model_name=model_name, temperature=0.1)
8
 
9
  def create_history_messages(history: List[Tuple[str, str]]) -> List[dict]: