Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def query(payload):
|
|
28 |
return {"image": response.content}
|
29 |
|
30 |
def generate_image(prompt):
|
31 |
-
random_seed = random.randint(0,
|
32 |
payload = {
|
33 |
"inputs": prompt,
|
34 |
"parameters": {
|
|
|
28 |
return {"image": response.content}
|
29 |
|
30 |
def generate_image(prompt):
|
31 |
+
random_seed = random.randint(0, 4294967295)
|
32 |
payload = {
|
33 |
"inputs": prompt,
|
34 |
"parameters": {
|