Rzhishchev commited on
Commit
4fffd17
·
1 Parent(s): 1920f72

Update gpt2.py

Browse files
Files changed (1) hide show
  1. gpt2.py +3 -3
gpt2.py CHANGED
@@ -3,9 +3,9 @@ from transformers import GPT2LMHeadModel, GPT2Tokenizer
3
  import torch
4
 
5
 
6
- def app():
7
- st.title('GPT-2 Text Generator')
8
- st.write('This is the GPT-2 text generator page.')
9
 
10
 
11
  DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
 
3
  import torch
4
 
5
 
6
+ # def app():
7
+ # st.title('GPT-2 Text Generator')
8
+ # st.write('This is the GPT-2 text generator page.')
9
 
10
 
11
  DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu')