Spaces:
Running
Running
Update app.py
Browse files
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 |
|
|
|