Spaces:
Runtime error
Runtime error
Fix user input chat template.
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ Toughness: 2
|
|
80 |
Color: ['W']
|
81 |
```</s>
|
82 |
<|user|>
|
83 |
-
{user_request}
|
84 |
<|assistant|>
|
85 |
"""
|
86 |
if card_text and card_text != starting_text:
|
@@ -110,7 +110,7 @@ Color: ['W']
|
|
110 |
{card_text}
|
111 |
```
|
112 |
# EDIT REQUEST
|
113 |
-
{user_request}
|
114 |
<|assistant|>
|
115 |
"""
|
116 |
print(f"Calling API with prompt:\n{prompt}")
|
|
|
80 |
Color: ['W']
|
81 |
```</s>
|
82 |
<|user|>
|
83 |
+
{user_request}</s>
|
84 |
<|assistant|>
|
85 |
"""
|
86 |
if card_text and card_text != starting_text:
|
|
|
110 |
{card_text}
|
111 |
```
|
112 |
# EDIT REQUEST
|
113 |
+
{user_request}</s>
|
114 |
<|assistant|>
|
115 |
"""
|
116 |
print(f"Calling API with prompt:\n{prompt}")
|