fffiloni commited on
Commit
48bbfd9
·
1 Parent(s): a4ea02b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -14,7 +14,11 @@ pipe.to(device)
14
  def infer(prompt):
15
  image = pipe(prompt)["sample"][0]
16
  return image
17
-
 
 
 
 
 
18
  gr.Interface(fn=infer, inputs="text", outputs="image").launch()
19
 
20
- print("Great sylvain ! Everything is working fine !")
 
14
  def infer(prompt):
15
  image = pipe(prompt)["sample"][0]
16
  return image
17
+
18
+ print("Great sylvain ! Everything is working fine !")
19
+
20
+ title="Stable Diffusion CPU"
21
+ description="Stable Diffusion example using CPU and HF token. Warning: Slow process..."
22
+
23
  gr.Interface(fn=infer, inputs="text", outputs="image").launch()
24