Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ example_sample = [
|
|
24 |
|
25 |
def demo_func(prefix, max_length):
|
26 |
max_length = max(int(max_length), 3)
|
27 |
-
l = retrieve_search_df(prefix, max_length)[["dialogue"]].values.tolist()
|
28 |
assert type(l) == type([])
|
29 |
return {
|
30 |
"Dialogue Context": l
|
|
|
24 |
|
25 |
def demo_func(prefix, max_length):
|
26 |
max_length = max(int(max_length), 3)
|
27 |
+
l = retrieve_search_df(prefix, max_length)[["sent" ,"dialogue"]].values.tolist()
|
28 |
assert type(l) == type([])
|
29 |
return {
|
30 |
"Dialogue Context": l
|