Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,12 +57,14 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
|
|
| 57 |
)
|
| 58 |
cnt=0
|
| 59 |
history1=history
|
| 60 |
-
stats=
|
| 61 |
-
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
|
|
|
|
|
|
|
| 66 |
for ea in history:
|
| 67 |
print (ea)
|
| 68 |
for l in ea:
|
|
|
|
| 57 |
)
|
| 58 |
cnt=0
|
| 59 |
history1=history
|
| 60 |
+
stats=f'''
|
| 61 |
+
*******************
|
| 62 |
+
"Health": {health}\n
|
| 63 |
+
"Power": 1\n
|
| 64 |
+
"Strength": 20\n
|
| 65 |
+
"Magic": 24\n
|
| 66 |
+
*******************
|
| 67 |
+
'''
|
| 68 |
for ea in history:
|
| 69 |
print (ea)
|
| 70 |
for l in ea:
|