mipatov commited on
Commit
7cd123d
1 Parent(s): dd3f675

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -2,7 +2,6 @@ import transformers
2
  import torch
3
  import tokenizers
4
  import gradio as gr
5
- import re
6
 
7
  def get_model(model_name, model_path='pytorch_model.bin'):
8
  tokenizer = transformers.GPT2Tokenizer.from_pretrained(model_name)
 
2
  import torch
3
  import tokenizers
4
  import gradio as gr
 
5
 
6
  def get_model(model_name, model_path='pytorch_model.bin'):
7
  tokenizer = transformers.GPT2Tokenizer.from_pretrained(model_name)