Spaces:
Runtime error
Runtime error
LanHarmony
commited on
Commit
•
a68b189
1
Parent(s):
ba47d90
add infinity and chinese support
Browse files
app.py
CHANGED
@@ -94,6 +94,7 @@ from langchain.chains.conversation.memory import ConversationBufferMemory
|
|
94 |
from langchain.llms.openai import OpenAI
|
95 |
import re
|
96 |
import gradio as gr
|
|
|
97 |
|
98 |
|
99 |
def cut_dialogue_history(history_memory, keep_last_n_words=400):
|
|
|
94 |
from langchain.llms.openai import OpenAI
|
95 |
import re
|
96 |
import gradio as gr
|
97 |
+
import inspect
|
98 |
|
99 |
|
100 |
def cut_dialogue_history(history_memory, keep_last_n_words=400):
|