Daniele commited on
Commit
6f51388
Β·
1 Parent(s): 056a884

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
  from transformers import pipeline
4
  import re
5
 
6
- dante = pipeline('text-generation',model='./model', tokenizer='GroNLP/gpt2-small-italian-embeddings')
7
 
8
  def grammatical_cleaning(generated: str) -> str:
9
  generated = re.sub("\.[^\s]",". ", generated)
 
3
  from transformers import pipeline
4
  import re
5
 
6
+ dante = pipeline('text-generation',model='.', tokenizer='GroNLP/gpt2-small-italian-embeddings')
7
 
8
  def grammatical_cleaning(generated: str) -> str:
9
  generated = re.sub("\.[^\s]",". ", generated)