Patinya commited on
Commit
51a229b
1 Parent(s): 67f6b07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ from transformers import pipeline
3
 
4
  #model = AutoModelForSeq2SeqLM.from_pretrained("t5-base")
5
  #tokenizer = AutoTokenizer.from_pretrained("t5-base")
6
- classifier = pipeline('text-generation', model='KoboldAI/GPT-Neo-2.7B-Shinen')
 
 
7
  def main():
8
  st.title("Text translation")
9
 
 
3
 
4
  #model = AutoModelForSeq2SeqLM.from_pretrained("t5-base")
5
  #tokenizer = AutoTokenizer.from_pretrained("t5-base")
6
+ classifier = pipeline('text-generation', model="dbmdz/german-gpt2",
7
+ tokenizer="dbmdz/german-gpt2")
8
+
9
  def main():
10
  st.title("Text translation")
11