Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,8 @@ opt = parser.parse_args()
|
|
| 80 |
|
| 81 |
### Global variables and data structures
|
| 82 |
|
| 83 |
-
device = f'cuda:{opt.device}' if opt.device >= 0 else 'cpu'
|
|
|
|
| 84 |
|
| 85 |
|
| 86 |
model_dict = {
|
|
@@ -500,7 +501,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 500 |
<div>
|
| 501 |
<h1>🧠 Semantic Paint 🎨</h1>
|
| 502 |
<h5 style="margin: 0;">powered by</h5>
|
| 503 |
-
<h3>StreamMultiDiffusion: Real-Time Interactive Generation with Region-Based Semantic Control</h3>
|
| 504 |
<h5 style="margin: 0;">If you ❤️ our project, please visit our Github and give us a 🌟!</h5>
|
| 505 |
</br>
|
| 506 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
|
|
|
| 80 |
|
| 81 |
### Global variables and data structures
|
| 82 |
|
| 83 |
+
# device = f'cuda:{opt.device}' if opt.device >= 0 else 'cpu'
|
| 84 |
+
device = 'cuda'
|
| 85 |
|
| 86 |
|
| 87 |
model_dict = {
|
|
|
|
| 501 |
<div>
|
| 502 |
<h1>🧠 Semantic Paint 🎨</h1>
|
| 503 |
<h5 style="margin: 0;">powered by</h5>
|
| 504 |
+
<h3><a href="https://jaerinlee.com/research/StreamMultiDiffusion">StreamMultiDiffusion: Real-Time Interactive Generation with Region-Based Semantic Control</a></h3>
|
| 505 |
<h5 style="margin: 0;">If you ❤️ our project, please visit our Github and give us a 🌟!</h5>
|
| 506 |
</br>
|
| 507 |
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|