yash161101 commited on
Commit
855a10b
1 Parent(s): 38fe0ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  model_name = "ml6team/gpt-2-small-conditional-quote-generator"
2
  model = AutoModel.from_pretrained(model_name)
3
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
1
+ from transformers import AutoModel, AutoTokenizer
2
+
3
  model_name = "ml6team/gpt-2-small-conditional-quote-generator"
4
  model = AutoModel.from_pretrained(model_name)
5
  tokenizer = AutoTokenizer.from_pretrained(model_name)