AhmedSSabir commited on
Commit
c1e19ca
1 Parent(s): 4182d46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def softmax(x):
48
 
49
  model = gr.Interface.load('huggingface/distilgpt2', output_hidden_states = True, output_attentions = True)
50
 
51
- model.eval()
52
  tokenizer = gr.Interface.load('huggingface/distilgpt2')
53
 
54
  #tokenizer = GPT2Tokenizer.from_pretrained('distilgpt2')
 
48
 
49
  model = gr.Interface.load('huggingface/distilgpt2', output_hidden_states = True, output_attentions = True)
50
 
51
+ #model.eval()
52
  tokenizer = gr.Interface.load('huggingface/distilgpt2')
53
 
54
  #tokenizer = GPT2Tokenizer.from_pretrained('distilgpt2')