Spaces:
Runtime error
Runtime error
montyanderson
commited on
Commit
•
5a59c11
1
Parent(s):
4fff7a9
`app.py`: move model input
Browse files
app.py
CHANGED
@@ -107,6 +107,7 @@ with gr.Blocks(css=css) as demo:
|
|
107 |
with gr.Tab("txt2img"):
|
108 |
with gr.Row():
|
109 |
with gr.Column(scale=6, min_width=600):
|
|
|
110 |
prompt = gr.Textbox("puppies in a cloud, 4k", placeholder="Prompt", show_label=False, lines=3)
|
111 |
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3)
|
112 |
with gr.Column(equal_height=True):
|
@@ -115,8 +116,6 @@ with gr.Blocks(css=css) as demo:
|
|
115 |
with gr.Row():
|
116 |
with gr.Column(scale=3):
|
117 |
with gr.Tab("Generation"):
|
118 |
-
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="Model", choices=prodia_client.list_models())
|
119 |
-
|
120 |
with gr.Row():
|
121 |
with gr.Column(scale=1):
|
122 |
sampler = gr.Dropdown(value="Euler a", show_label=True, label="Sampling Method", choices=[
|
|
|
107 |
with gr.Tab("txt2img"):
|
108 |
with gr.Row():
|
109 |
with gr.Column(scale=6, min_width=600):
|
110 |
+
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="Stable Diffusion Checkpoint", choices=prodia_client.list_models())
|
111 |
prompt = gr.Textbox("puppies in a cloud, 4k", placeholder="Prompt", show_label=False, lines=3)
|
112 |
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3)
|
113 |
with gr.Column(equal_height=True):
|
|
|
116 |
with gr.Row():
|
117 |
with gr.Column(scale=3):
|
118 |
with gr.Tab("Generation"):
|
|
|
|
|
119 |
with gr.Row():
|
120 |
with gr.Column(scale=1):
|
121 |
sampler = gr.Dropdown(value="Euler a", show_label=True, label="Sampling Method", choices=[
|