Spaces:
Running
on
Zero
Running
on
Zero
kayfahaarukku
commited on
Update app.py
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='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/[email protected]") as demo:
|
62 |
gr.HTML(
|
@@ -66,7 +66,7 @@ with gr.Blocks(title="UrangDiffusion 1.0 Demo", theme="NoCrypt/[email protected]") as d
|
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt here", label="Prompt")
|
69 |
-
negative_prompt_input = gr.Textbox(lines=2, placeholder="Enter negative prompt here", label="Negative Prompt")
|
70 |
use_defaults_input = gr.Checkbox(label="Use Default Quality Tags and Negative Prompt", value=True)
|
71 |
resolution_input = gr.Radio(
|
72 |
choices=[
|
|
|
56 |
return image, seed, gr.update(value=seed)
|
57 |
|
58 |
def reset_inputs():
|
59 |
+
return gr.update(value=''), gr.update(value='realistic, 3d,'), 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/[email protected]") as demo:
|
62 |
gr.HTML(
|
|
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt here", label="Prompt")
|
69 |
+
negative_prompt_input = gr.Textbox(lines=2, placeholder="Enter negative prompt here", label="Negative Prompt", value="realistic, 3d,")
|
70 |
use_defaults_input = gr.Checkbox(label="Use Default Quality Tags and Negative Prompt", value=True)
|
71 |
resolution_input = gr.Radio(
|
72 |
choices=[
|