bhogarendernet commited on
Commit
bd3d125
·
1 Parent(s): 9586f99

added default values

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -237,10 +237,10 @@ css = """
237
  with gr.Blocks(css=css) as demo:
238
  with gr.Row():
239
  with gr.Column(scale=6):
240
- model = gr.Dropdown(interactive=True, show_label=True, label="Stable Diffusion Checkpoint", choices=rendernet_client.list_models())
241
 
242
  with gr.Column(scale=1):
243
- 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/).")
244
 
245
 
246
  with gr.Tabs() as tabs:
@@ -257,7 +257,7 @@ with gr.Blocks(css=css) as demo:
257
  with gr.Tab("Generation"):
258
  with gr.Row():
259
  with gr.Column(scale=1):
260
- sampler = gr.Dropdown(show_label=True, label="Sampling Method", choices=rendernet_client.list_samplers())
261
 
262
  with gr.Column(scale=1):
263
  steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
 
237
  with gr.Blocks(css=css) as demo:
238
  with gr.Row():
239
  with gr.Column(scale=6):
240
+ model = gr.Dropdown(interactive=True, value="dreamshaper" show_label=True, label="Stable Diffusion Checkpoint", choices=rendernet_client.list_models())
241
 
242
  with gr.Column(scale=1):
243
+ gr.Markdown(elem_id="powered-by-rendernet", value="AUTOMATIC1111 Stable Diffusion Web UI.<br>Powered by [RenderNet](https://rendernet.ai).<br>For advanced features and faster generation times check out our API and Website(https://rendernet.ai/).")
244
 
245
 
246
  with gr.Tabs() as tabs:
 
257
  with gr.Tab("Generation"):
258
  with gr.Row():
259
  with gr.Column(scale=1):
260
+ sampler = gr.Dropdown(show_label=True, value="DPM++ SDE Karras", label="Sampling Method", choices=rendernet_client.list_samplers())
261
 
262
  with gr.Column(scale=1):
263
  steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)