Q4234 commited on
Commit
35d2c47
1 Parent(s): 6a8a445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,8 +10,10 @@ class Z(object):
10
  pass
11
 
12
  def greet(self, txt0):
 
13
 
14
- prompt00 = f'Question: {txt0} Answer:'
 
15
 
16
  response0 = llm(prompt00, max_new_tokens=128, temperature=0.5) # 0.3
17
 
 
10
  pass
11
 
12
  def greet(self, txt0):
13
+ prompt0 = txt0
14
 
15
+ prompt00 = f'''USER: {prompt0}
16
+ ASSISTANT:'''
17
 
18
  response0 = llm(prompt00, max_new_tokens=128, temperature=0.5) # 0.3
19