fffiloni commited on
Commit
084d930
1 Parent(s): a560d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -183,7 +183,7 @@ 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", 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")
 
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",info="specify which one if model has several .safetensors files" )
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")