Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
-
text_generator = pipeline(
|
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}
|