fffiloni commited on
Commit
ea76f7d
1 Parent(s): de9fb03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -283,7 +283,7 @@ with gr.Blocks(css=css) as demo:
283
  loading_icon = gr.HTML(loading_icon_html)
284
  share_button = gr.Button("Share to community", elem_id="share-btn")
285
  with gr.Row():
286
- chosen_model = gr.Dropdown(label="Diffusion model (*1.5)", choices=['runwayml/stable-diffusion-v1-5','nitrosocke/Ghibli-Diffusion'], value="runwayml/stable-diffusion-v1-5")
287
  model_status = gr.Textbox(label="status")
288
  load_model_btn = gr.Button("load model (optional)")
289
  prompt = gr.Textbox(label="prompt", info="If you loaded a custom model, do not forget to include Prompt trigger", elem_id="prompt-in")
 
283
  loading_icon = gr.HTML(loading_icon_html)
284
  share_button = gr.Button("Share to community", elem_id="share-btn")
285
  with gr.Row():
286
+ chosen_model = gr.Dropdown(label="Diffusion model (*1.5)", choices=['runwayml/stable-diffusion-v1-5','nitrosocke/Ghibli-Diffusion'], value="runwayml/stable-diffusion-v1-5", allow_custom_value=True)
287
  model_status = gr.Textbox(label="status")
288
  load_model_btn = gr.Button("load model (optional)")
289
  prompt = gr.Textbox(label="prompt", info="If you loaded a custom model, do not forget to include Prompt trigger", elem_id="prompt-in")