uhdessai commited on
Commit
fcea2d8
·
verified ·
1 Parent(s): a1c2af1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -197,7 +197,7 @@ warnings.filterwarnings("ignore")
197
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
198
 
199
  # Google Drive model setup
200
- file_id = "12_fsSQgUfOCAPQaDtq2QPCLE74qTQEwt" # from your shared link
201
  output_path = "dress_model.pkl"
202
 
203
  # Download the model if it's not present
@@ -306,7 +306,7 @@ with gr.Blocks(title="Style Mixing for Clothing Design") as iface:
306
  image1_input = gr.Image(label="First Clothing Image", type="filepath")
307
  image2_input = gr.Image(label="Second Clothing Image", type="filepath")
308
 
309
- mix_slider = gr.Slider(label="Style Mixing Strength (Layers 0 to N)", minimum=0, maximum=9, step=1, value=5)
310
 
311
  with gr.Row():
312
  output_image = gr.Image(label="Mixed Clothing Design")
 
197
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
198
 
199
  # Google Drive model setup
200
+ file_id = "12_fsSQgUfOCAPQaDtq2QPCLE74qTQEwt"
201
  output_path = "dress_model.pkl"
202
 
203
  # Download the model if it's not present
 
306
  image1_input = gr.Image(label="First Clothing Image", type="filepath")
307
  image2_input = gr.Image(label="Second Clothing Image", type="filepath")
308
 
309
+ mix_slider = gr.Slider(label="Style Mixing Strength", minimum=0, maximum=9, step=1, value=5)
310
 
311
  with gr.Row():
312
  output_image = gr.Image(label="Mixed Clothing Design")