Spaces:
Runtime error
Runtime error
deepapaikar
commited on
Commit
•
e24d5ba
1
Parent(s):
aca62fc
update pipeline
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ print("Model loaded successfully")
|
|
33 |
#system_message = "Answer the questions truthfully and to the point."
|
34 |
|
35 |
def generate_response(query, history):
|
36 |
-
ans = pipe(f"
|
37 |
result= ans[0]['generated_text']
|
38 |
return result
|
39 |
|
|
|
33 |
#system_message = "Answer the questions truthfully and to the point."
|
34 |
|
35 |
def generate_response(query, history):
|
36 |
+
ans = pipe(f"[INST] {query} [/INST]")
|
37 |
result= ans[0]['generated_text']
|
38 |
return result
|
39 |
|