We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa89c61 commit 3a4e2e2Copy full SHA for 3a4e2e2
1 file changed
shared_utils/doc_loader_dynamic.py
@@ -9,7 +9,7 @@ def start_with_url(inputs:str):
9
if not ("http://" in inputs or "https://" in inputs):
10
return False
11
try:
12
- text = text.strip(',.!?,。!? \t\n\r')
+ text = inputs.strip(',.!?,。!? \t\n\r')
13
words = text.split()
14
if len(words) != 1:
15
0 commit comments