Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, model=D
|
|
| 67 |
steps = steps or 16
|
| 68 |
guidance = guidance or 3
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
parameters = {
|
| 73 |
"prompt": input,
|
|
|
|
| 67 |
steps = steps or 16
|
| 68 |
guidance = guidance or 3
|
| 69 |
|
| 70 |
+
repo.to(DEVICE)
|
| 71 |
|
| 72 |
parameters = {
|
| 73 |
"prompt": input,
|