Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,6 @@ def convert_history(chat_history, max_input_length=1024):
|
|
| 47 |
history_text = "<|assistant|>\n"
|
| 48 |
return history_text
|
| 49 |
|
| 50 |
-
@torch.inference_mode()
|
| 51 |
@spaces.GPU
|
| 52 |
def instruct(instruction, max_token_output=1024):
|
| 53 |
input_text = instruction
|
|
|
|
| 47 |
history_text = "<|assistant|>\n"
|
| 48 |
return history_text
|
| 49 |
|
|
|
|
| 50 |
@spaces.GPU
|
| 51 |
def instruct(instruction, max_token_output=1024):
|
| 52 |
input_text = instruction
|