Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
15571a3
1
Parent(s):
81c6616
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,6 @@ def decode_data_uri_to_image(data_uri):
|
|
31 |
return img
|
32 |
|
33 |
def run(*args):
|
34 |
-
print(args)
|
35 |
secret_token = args[0]
|
36 |
|
37 |
if secret_token != SECRET_TOKEN:
|
@@ -137,4 +136,4 @@ with gr.Blocks(title="PuLID") as demo:
|
|
137 |
]
|
138 |
submit.click(fn=run, inputs=inps, outputs=output_b64, api_name="run")
|
139 |
|
140 |
-
demo.queue(max_size=
|
|
|
31 |
return img
|
32 |
|
33 |
def run(*args):
|
|
|
34 |
secret_token = args[0]
|
35 |
|
36 |
if secret_token != SECRET_TOKEN:
|
|
|
136 |
]
|
137 |
submit.click(fn=run, inputs=inps, outputs=output_b64, api_name="run")
|
138 |
|
139 |
+
demo.queue(max_size=30).launch()
|