Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -359,7 +359,7 @@ with gr.Blocks(css=css) as app:
|
|
359 |
def load_im_fn(inp):
|
360 |
return inp
|
361 |
|
362 |
-
load_im_btn.click(load_im_fn,inp_img_url,
|
363 |
proc_im_btn.click(improve_img,[inp_img,model_name,denoise_strength,face_enhance,outscale],[outp_img,im_stat])
|
364 |
choose_media.change(new_media,choose_media,[im_box,vid_box,gif_row,vid_row])
|
365 |
samp_btn.click(run_samp,[choose_prog,fps,qual,model_name,denoise_strength,face_enhance,outscale,frame_targ],[samp_im,gif_stat,vid_stat])
|
|
|
359 |
def load_im_fn(inp):
|
360 |
return inp
|
361 |
|
362 |
+
load_im_btn.click(load_im_fn,inp_img_url,inp_img)
|
363 |
proc_im_btn.click(improve_img,[inp_img,model_name,denoise_strength,face_enhance,outscale],[outp_img,im_stat])
|
364 |
choose_media.change(new_media,choose_media,[im_box,vid_box,gif_row,vid_row])
|
365 |
samp_btn.click(run_samp,[choose_prog,fps,qual,model_name,denoise_strength,face_enhance,outscale,frame_targ],[samp_im,gif_stat,vid_stat])
|