Spaces:
Runtime error
Runtime error
kayfahaarukku
commited on
Fixing reset button
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def interface_fn(prompt, negative_prompt, use_defaults, resolution, guidance_sca
|
|
56 |
return image, seed, gr.update(value=seed)
|
57 |
|
58 |
def reset_inputs():
|
59 |
-
return gr.update(value=''), gr.update(value=''), gr.update(value=True), gr.update(value='
|
60 |
|
61 |
with gr.Blocks(title="UrangDiffusion 1.0 Demo", theme="NoCrypt/miku@1.2.1") as demo:
|
62 |
gr.HTML(
|
|
|
56 |
return image, seed, gr.update(value=seed)
|
57 |
|
58 |
def reset_inputs():
|
59 |
+
return gr.update(value=''), gr.update(value=''), gr.update(value=True), gr.update(value='832x1216'), gr.update(value=7), gr.update(value=28), gr.update(value=0), gr.update(value=True)
|
60 |
|
61 |
with gr.Blocks(title="UrangDiffusion 1.0 Demo", theme="NoCrypt/miku@1.2.1") as demo:
|
62 |
gr.HTML(
|