Spaces:
Runtime error
Runtime error
fix readme
Browse files
README.md
CHANGED
|
@@ -1,32 +1,10 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
The Stable Diffusion model is the latest provided by the diffusers library.
|
| 12 |
-
|
| 13 |
-
If you want to use it, to avoid local checkpoint, just get an access token from hugging face, follow [these](https://huggingface.co/CompVis/stable-diffusion-v1-4) instruction to get access.
|
| 14 |
-
Then copy and paste the Token in [config.py](./config.py).
|
| 15 |
-
|
| 16 |
-
Install the requirements and you should be able to run:
|
| 17 |
-
```
|
| 18 |
-
streamlit run main.py
|
| 19 |
-
```
|
| 20 |
-
|
| 21 |
-
This version has also the multi-language support, at the moment just English and Italian.
|
| 22 |
-
|
| 23 |
-

|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
The final result is :
|
| 27 |
-
<p style="text-align:center;"><img src="./result.png" width="200"/></p>
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
NOTE:
|
| 31 |
-
|
| 32 |
-
This implementation use a `torch.float16` due to low VRAM availability. Strongly suggest to set it `torch.float32` to speed up the computation. [Here](./utils.py)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: {{title}}
|
| 3 |
+
emoji: {{emoji}}
|
| 4 |
+
colorFrom: {{colorFrom}}
|
| 5 |
+
colorTo: {{colorTo}}
|
| 6 |
+
sdk: {{sdk}}
|
| 7 |
+
sdk_version: {{sdkVersion}}
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|