Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ print("hello sylvain")
|
|
| 8 |
YOUR_TOKEN="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"
|
| 9 |
|
| 10 |
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
| 11 |
-
pipe.to("
|
| 12 |
|
| 13 |
def process(name):
|
| 14 |
return "hello " + name
|
|
|
|
| 8 |
YOUR_TOKEN="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"
|
| 9 |
|
| 10 |
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
| 11 |
+
pipe.to("cpu")
|
| 12 |
|
| 13 |
def process(name):
|
| 14 |
return "hello " + name
|