Tonic commited on
Commit
297570c
·
verified ·
1 Parent(s): 34fbe71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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