4eJIoBek commited on
Commit
e95d6fc
1 Parent(s): 5313058

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- generator = pipeline('text-generation', model='Den4ikAI/rugpt3_2ch')
5
 
6
  def generate(text):
7
  result = generator(text, max_length=275, temperature=0.7, num_return_sequences=1, do_sample=True)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ generator = pipeline('text-generation', model='sberbank-ai/rugpt3large_based_on_gpt2')
5
 
6
  def generate(text):
7
  result = generator(text, max_length=275, temperature=0.7, num_return_sequences=1, do_sample=True)