Spaces:
Runtime error
Runtime error
Commit
·
9184ef0
1
Parent(s):
1eb34ad
Update app.py
Browse files
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 |
-
|
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]:
|