Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from transformers import pipeline
|
|
10 |
name = "andite/anything-v4.0"
|
11 |
model = gr.Interface.load(f"models/{name}")
|
12 |
|
13 |
-
pipe = pipeline(model=f"{name}")
|
14 |
pi = gr.Interface.from_pipeline(pipe)
|
15 |
|
16 |
|
|
|
10 |
name = "andite/anything-v4.0"
|
11 |
model = gr.Interface.load(f"models/{name}")
|
12 |
|
13 |
+
pipe = pipeline("text-to-image",model=f"{name}")
|
14 |
pi = gr.Interface.from_pipeline(pipe)
|
15 |
|
16 |
|