Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,8 @@ tokenizer, model = load_model()
|
|
| 24 |
@spaces.GPU
|
| 25 |
def generate(message, history):
|
| 26 |
conversation = history + [message]
|
|
|
|
|
|
|
| 27 |
|
| 28 |
inputs = tokenizer.apply_chat_template(
|
| 29 |
conversation,
|
|
|
|
| 24 |
@spaces.GPU
|
| 25 |
def generate(message, history):
|
| 26 |
conversation = history + [message]
|
| 27 |
+
|
| 28 |
+
print(conversation)
|
| 29 |
|
| 30 |
inputs = tokenizer.apply_chat_template(
|
| 31 |
conversation,
|