Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|
10 |
torch.cuda.max_memory_allocated(device=device)
|
11 |
torch.cuda.empty_cache()
|
12 |
|
13 |
-
def genie (Model, Prompt, negative_prompt, height, width, scale, steps, seed, refine, high_noise_frac
|
14 |
generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
|
15 |
|
16 |
if Model == "PhotoReal":
|
|
|
10 |
torch.cuda.max_memory_allocated(device=device)
|
11 |
torch.cuda.empty_cache()
|
12 |
|
13 |
+
def genie (Model, Prompt, negative_prompt, height, width, scale, steps, seed, refine, high_noise_frac):
|
14 |
generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
|
15 |
|
16 |
if Model == "PhotoReal":
|