Spaces:
Sleeping
Sleeping
mathslearn
commited on
Commit
•
8e5e0c3
1
Parent(s):
4b1f65a
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,9 @@ import gradio as gr
|
|
15 |
|
16 |
#llm = ChatOpenAI(model=model, tokenizer=tokenizer)
|
17 |
|
18 |
-
llm = ChatOpenAI(model_name="gpt-3.5-turbo", openai_api_key="sk-
|
|
|
|
|
19 |
|
20 |
# Initialize global variable for conversation memory
|
21 |
buffer_memory = ConversationBufferWindowMemory(k=8)
|
|
|
15 |
|
16 |
#llm = ChatOpenAI(model=model, tokenizer=tokenizer)
|
17 |
|
18 |
+
llm = ChatOpenAI(model_name="gpt-3.5-turbo", openai_api_key="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")
|
19 |
+
#llm = ChatOpenAI(model_name="gpt-3.5-turbo", openai_api_key="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")
|
20 |
+
#llm = ChatOpenAI(model_name="gpt-3.5-turbo", openai_api_key="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")
|
21 |
|
22 |
# Initialize global variable for conversation memory
|
23 |
buffer_memory = ConversationBufferWindowMemory(k=8)
|