Spaces:
Runtime error
Runtime error
horsey-defy commited on
Commit ·
d0d11c4
1
Parent(s): 3a4ba99
Removed default values
Browse files
app.py
CHANGED
|
@@ -227,7 +227,7 @@ css = """
|
|
| 227 |
with gr.Blocks(css=css) as demo:
|
| 228 |
with gr.Row():
|
| 229 |
with gr.Column(scale=6):
|
| 230 |
-
model = gr.Dropdown(interactive=True,
|
| 231 |
|
| 232 |
with gr.Column(scale=1):
|
| 233 |
gr.Markdown(elem_id="powered-by-rendernet", value="AUTOMATIC1111 Stable Diffusion Web UI.<br>Powered by [RenderNet](https://rendernet.ai).<br>For more features and faster generation times check out our [API Docs](https://rendernet.ai/).")
|
|
@@ -247,7 +247,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 247 |
with gr.Tab("Generation"):
|
| 248 |
with gr.Row():
|
| 249 |
with gr.Column(scale=1):
|
| 250 |
-
sampler = gr.Dropdown(
|
| 251 |
|
| 252 |
with gr.Column(scale=1):
|
| 253 |
steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
|
|
|
|
| 227 |
with gr.Blocks(css=css) as demo:
|
| 228 |
with gr.Row():
|
| 229 |
with gr.Column(scale=6):
|
| 230 |
+
model = gr.Dropdown(interactive=True, show_label=True, label="Stable Diffusion Checkpoint", choices=rendernet_client.list_models())
|
| 231 |
|
| 232 |
with gr.Column(scale=1):
|
| 233 |
gr.Markdown(elem_id="powered-by-rendernet", value="AUTOMATIC1111 Stable Diffusion Web UI.<br>Powered by [RenderNet](https://rendernet.ai).<br>For more features and faster generation times check out our [API Docs](https://rendernet.ai/).")
|
|
|
|
| 247 |
with gr.Tab("Generation"):
|
| 248 |
with gr.Row():
|
| 249 |
with gr.Column(scale=1):
|
| 250 |
+
sampler = gr.Dropdown(show_label=True, label="Sampling Method", choices=rendernet_client.list_samplers())
|
| 251 |
|
| 252 |
with gr.Column(scale=1):
|
| 253 |
steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
|