Spaces:
Runtime error
Runtime error
abnerguzman
commited on
Commit
•
f017c86
1
Parent(s):
497bfcd
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,8 @@ from llama_index.core.memory import ChatMemoryBuffer
|
|
25 |
import gradio as gr
|
26 |
from io import StringIO
|
27 |
|
|
|
|
|
28 |
def get_credit_dist(history):
|
29 |
atoms_l = cu.sentence_splitter.split_text(history[-1][1])
|
30 |
atoms_l = list(filter(lambda x: len(x) > 50, atoms_l))
|
|
|
25 |
import gradio as gr
|
26 |
from io import StringIO
|
27 |
|
28 |
+
import util as cu
|
29 |
+
|
30 |
def get_credit_dist(history):
|
31 |
atoms_l = cu.sentence_splitter.split_text(history[-1][1])
|
32 |
atoms_l = list(filter(lambda x: len(x) > 50, atoms_l))
|