Sharathhebbar24
commited on
Commit
•
8a9054f
1
Parent(s):
75e3182
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ class LLM_Langchain():
|
|
82 |
|
83 |
def generate_response(self, input_text):
|
84 |
|
85 |
-
template = "<|system|>\nYou are a intelligent chatbot.</s>\n<|user|>\n{input_text}.\n<|assistant|>"
|
86 |
llm = HuggingFaceHub(
|
87 |
repo_id = self.model_name,
|
88 |
model_kwargs = self.model_kwargs
|
|
|
82 |
|
83 |
def generate_response(self, input_text):
|
84 |
|
85 |
+
template = f"<|system|>\nYou are a intelligent chatbot.</s>\n<|user|>\n{input_text}.\n<|assistant|>"
|
86 |
llm = HuggingFaceHub(
|
87 |
repo_id = self.model_name,
|
88 |
model_kwargs = self.model_kwargs
|