Spaces:
Runtime error
Runtime error
Commit
·
b11c561
1
Parent(s):
4f2037c
Update app.py
Browse files
app.py
CHANGED
@@ -17,41 +17,41 @@ proc8=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
|
17 |
|
18 |
|
19 |
def send_it1(inputs,proc1=proc1):
|
20 |
-
seed = random.randint(0) # Generate a random seed
|
21 |
output1=proc1(inputs,seed=seed)
|
22 |
return(output1)
|
23 |
|
24 |
def send_it2(inputs,proc2=proc2):
|
25 |
-
seed = random.randint(0) # Generate a random seed
|
26 |
output2=proc2(inputs,seed=seed)
|
27 |
return(output2)
|
28 |
|
29 |
def send_it3(inputs,proc3=proc3):
|
30 |
-
seed = random.randint(0) # Generate a random seed
|
31 |
output3=proc3(inputs,seed=seed)
|
32 |
return(output3)
|
33 |
|
34 |
def send_it4(inputs,proc4=proc4):
|
35 |
-
seed = random.randint(0) # Generate a random seed
|
36 |
output4=proc4(inputs,seed=seed)
|
37 |
return(output4)
|
38 |
|
39 |
def send_it5(inputs,proc5=proc5):
|
40 |
-
seed = random.randint(0) # Generate a random seed
|
41 |
output5=proc5(inputs,seed=seed)
|
42 |
return(output5)
|
43 |
|
44 |
def send_it6(inputs,proc6=proc6):
|
45 |
-
seed = random.randint(0) # Generate a random seed
|
46 |
output6=proc6(inputs,seed=seed)
|
47 |
return(output6)
|
48 |
|
49 |
def send_it7(inputs,proc7=proc7):
|
50 |
-
seed = random.randint(0) # Generate a random seed
|
51 |
output7=proc7(inputs,seed=seed)
|
52 |
return(output7)
|
53 |
def send_it8(inputs,proc8=proc8):
|
54 |
-
seed = random.randint(0)
|
55 |
output8=proc8(inputs,seed=seed)
|
56 |
return(output8)
|
57 |
|
|
|
17 |
|
18 |
|
19 |
def send_it1(inputs,proc1=proc1):
|
20 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
21 |
output1=proc1(inputs,seed=seed)
|
22 |
return(output1)
|
23 |
|
24 |
def send_it2(inputs,proc2=proc2):
|
25 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
26 |
output2=proc2(inputs,seed=seed)
|
27 |
return(output2)
|
28 |
|
29 |
def send_it3(inputs,proc3=proc3):
|
30 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
31 |
output3=proc3(inputs,seed=seed)
|
32 |
return(output3)
|
33 |
|
34 |
def send_it4(inputs,proc4=proc4):
|
35 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
36 |
output4=proc4(inputs,seed=seed)
|
37 |
return(output4)
|
38 |
|
39 |
def send_it5(inputs,proc5=proc5):
|
40 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
41 |
output5=proc5(inputs,seed=seed)
|
42 |
return(output5)
|
43 |
|
44 |
def send_it6(inputs,proc6=proc6):
|
45 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
46 |
output6=proc6(inputs,seed=seed)
|
47 |
return(output6)
|
48 |
|
49 |
def send_it7(inputs,proc7=proc7):
|
50 |
+
seed = random.randint(0, 2**32 - 1) # Generate a random seed
|
51 |
output7=proc7(inputs,seed=seed)
|
52 |
return(output7)
|
53 |
def send_it8(inputs,proc8=proc8):
|
54 |
+
seed = random.randint(0, 2**32 - 1)
|
55 |
output8=proc8(inputs,seed=seed)
|
56 |
return(output8)
|
57 |
|