Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,8 +127,8 @@ prompt = PromptTemplate(
|
|
| 127 |
)
|
| 128 |
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
|
| 133 |
|
| 134 |
|
|
@@ -164,7 +164,6 @@ import openai
|
|
| 164 |
|
| 165 |
import gradio as gr
|
| 166 |
|
| 167 |
-
llm = ChatOpenAI(temperature=0.5, model='gpt-4o', openai_api_key=openai_api_key)
|
| 168 |
|
| 169 |
def reg(message, history):
|
| 170 |
history_langchain_format = []
|
|
|
|
| 127 |
)
|
| 128 |
|
| 129 |
|
| 130 |
+
llm = ChatOpenAI(temperature=0.5, model='gpt-4o', openai_api_key=openai_api_key)
|
| 131 |
+
|
| 132 |
|
| 133 |
|
| 134 |
|
|
|
|
| 164 |
|
| 165 |
import gradio as gr
|
| 166 |
|
|
|
|
| 167 |
|
| 168 |
def reg(message, history):
|
| 169 |
history_langchain_format = []
|