Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def get_seed(seed):
|
|
| 51 |
return random.randint(0, MAX_SEED)
|
| 52 |
|
| 53 |
@spaces.GPU(duration=30)
|
| 54 |
-
def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, seed=None
|
| 55 |
|
| 56 |
print(input, negative_input, height, width, steps, guidance, seed)
|
| 57 |
model.to(DEVICE)
|
|
|
|
| 51 |
return random.randint(0, MAX_SEED)
|
| 52 |
|
| 53 |
@spaces.GPU(duration=30)
|
| 54 |
+
def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, seed=None):
|
| 55 |
|
| 56 |
print(input, negative_input, height, width, steps, guidance, seed)
|
| 57 |
model.to(DEVICE)
|