xp3857 commited on
Commit
d026df2
1 Parent(s): 44f38f5

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"models/{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(model=f"{name}")
14
  pi = gr.Interface.from_pipeline(pipe)
15
 
16