Update app.py
Browse files
app.py
CHANGED
|
@@ -53,16 +53,16 @@ def inference(LR, Ref):
|
|
| 53 |
Ref.save(os.path.join(Ref_path_T, '0000.png'))
|
| 54 |
|
| 55 |
os.system("python -B run.py \
|
| 56 |
-
--mode
|
| 57 |
-
--config
|
| 58 |
--data RealMCVSR \
|
| 59 |
-
--ckpt_abs_name ckpt/
|
| 60 |
--data_offset ./test \
|
| 61 |
--output_offset ./result \
|
| 62 |
--qualitative_only \
|
| 63 |
--cpu \
|
| 64 |
--is_gradio")
|
| 65 |
-
|
| 66 |
return "result/0000.png"
|
| 67 |
|
| 68 |
title="RefVSR (under construction)"
|
|
|
|
| 53 |
Ref.save(os.path.join(Ref_path_T, '0000.png'))
|
| 54 |
|
| 55 |
os.system("python -B run.py \
|
| 56 |
+
--mode RefVSR_MFID \
|
| 57 |
+
--config config_RefVSR_MFID \
|
| 58 |
--data RealMCVSR \
|
| 59 |
+
--ckpt_abs_name ckpt/RefVSR_MFID.pytorch \
|
| 60 |
--data_offset ./test \
|
| 61 |
--output_offset ./result \
|
| 62 |
--qualitative_only \
|
| 63 |
--cpu \
|
| 64 |
--is_gradio")
|
| 65 |
+
|
| 66 |
return "result/0000.png"
|
| 67 |
|
| 68 |
title="RefVSR (under construction)"
|