lachine commited on
Commit
0bbd0a0
1 Parent(s): 4ea20ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
- text_generator = pipeline("text-generation", model="EleutherAI/gpt-neo-2.7B")
4
 
5
  def generate_text(prompt, quality):
6
  length_dict = {"Low": 25, "Medium (Default)": 50, "High": 100}
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ text_generator = pipeline(model="ai-forever/Kandinsky_2.1")
4
 
5
  def generate_text(prompt, quality):
6
  length_dict = {"Low": 25, "Medium (Default)": 50, "High": 100}