Spaces:
Runtime error
Runtime error
Defalt-404
commited on
Commit
•
d7316ba
1
Parent(s):
02ec47f
change sanitazation
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def interface_fn(system_prompt, optn, arg, user_prompt):
|
|
86 |
if optn == 'TOP':
|
87 |
|
88 |
if int(arg) > 30:
|
89 |
-
arg =
|
90 |
payload['top_n'] = int(arg)
|
91 |
payload['messages'] = messages
|
92 |
response = retrieve_response(payload)
|
|
|
86 |
if optn == 'TOP':
|
87 |
|
88 |
if int(arg) > 30:
|
89 |
+
arg = 100
|
90 |
payload['top_n'] = int(arg)
|
91 |
payload['messages'] = messages
|
92 |
response = retrieve_response(payload)
|