Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61ee705

Browse filesBrowse files
committed
.
1 parent 49d87b5 commit 61ee705
Copy full SHA for 61ee705

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎rplugin/python3/CodeExplain.py

Copy file name to clipboardExpand all lines: rplugin/python3/CodeExplain.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ def __init__(self,):
2424
self.CHAIN = LLMChain(llm=LLM, prompt=PROMPT,memory=ConversationBufferMemory())
2525

2626
def run(self,code):
27-
explained_code = self.CHAIN.run(code)
28-
print(explained_code)
29-
return explained_code
27+
return self.CHAIN.run(code)
3028

3129
@pynvim.plugin
3230
class CodeExplain(object):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.