fffiloni commited on
Commit
a560d8e
·
1 Parent(s): a4f5d8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -183,8 +183,8 @@ with gr.Blocks(css=css) as demo:
183
  use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
184
  with gr.Row():
185
  model_name = gr.Textbox(label="Custom Model to use", placeholder="username/my_custom_public_model")
186
- weight_name = gr.Textbox(label="Specific safetensor", placeholder="specific_weight.safetensors")
187
- custom_lora_weight = gr.Slider(label="Custom model weights", minimum=0.1, maximum=0.9, step=0.1, value=0.9)
188
  submit_btn = gr.Button("Submit")
189
  result = gr.Image(label="Result")
190
 
 
183
  use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
184
  with gr.Row():
185
  model_name = gr.Textbox(label="Custom Model to use", placeholder="username/my_custom_public_model")
186
+ weight_name = gr.Textbox(label="Specific safetensor", value="pytorch_lora_weights.safetensors")
187
+ custom_lora_weight = gr.Slider(label="Custom model weights", minimum=0.1, maximum=0.9, step=0.1, value=0.9)
188
  submit_btn = gr.Button("Submit")
189
  result = gr.Image(label="Result")
190