sudiptaverse commited on
Commit
3880b7e
·
verified ·
1 Parent(s): 22057f8

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,12 +50,12 @@ generator = pipeline(
50
  # LangChain pipeline
51
  llm = HuggingFacePipeline(pipeline=generator)
52
  prompt = ChatPromptTemplate.from_template(
53
- "Instruction:
54
  Explain this Python code step-by-step:
55
  Use code with caution
56
  {code}
57
 
58
- Explanation:"
59
  )
60
 
61
  parser = StrOutputParser()
 
50
  # LangChain pipeline
51
  llm = HuggingFacePipeline(pipeline=generator)
52
  prompt = ChatPromptTemplate.from_template(
53
+ """Instruction:
54
  Explain this Python code step-by-step:
55
  Use code with caution
56
  {code}
57
 
58
+ Explanation:"""
59
  )
60
 
61
  parser = StrOutputParser()