xp3857 commited on
Commit
2ab524d
1 Parent(s): d026df2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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