dar-tau commited on
Commit
a468180
1 Parent(s): 913b5eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def get_hidden_states(raw_original_prompt):
81
  + [gr.Button('', visible=False) for _ in range(MAX_PROMPT_TOKENS - len(tokens))])
82
  progress_dummy_output = ''
83
  invisible_bubbles = [gr.Textbox('', visible=False) for i in range(MAX_NUM_LAYERS)]
84
- global_state.hidden_states = hidden_states
85
  return [progress_dummy_output, *token_btns, *invisible_bubbles]
86
 
87
 
 
81
  + [gr.Button('', visible=False) for _ in range(MAX_PROMPT_TOKENS - len(tokens))])
82
  progress_dummy_output = ''
83
  invisible_bubbles = [gr.Textbox('', visible=False) for i in range(MAX_NUM_LAYERS)]
84
+ global_state.hidden_states = hidden_states.cpu()
85
  return [progress_dummy_output, *token_btns, *invisible_bubbles]
86
 
87