Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,10 @@ class Z(object):
|
|
| 10 |
pass
|
| 11 |
|
| 12 |
def greet(self, txt0):
|
|
|
|
| 13 |
|
| 14 |
-
prompt00 = f'
|
|
|
|
| 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 |
|