Spaces:
Runtime error
Runtime error
Update demo_gradio.py
Browse files- demo_gradio.py +2 -2
demo_gradio.py
CHANGED
@@ -13,8 +13,8 @@ from tqdm import tqdm
|
|
13 |
import argparse
|
14 |
|
15 |
parser = argparse.ArgumentParser(description='Test Restormer on your own images')
|
16 |
-
parser.add_argument('--input_path', default='./
|
17 |
-
parser.add_argument('--result_dir', default='./
|
18 |
parser.add_argument('--task', required=True, type=str, help='Task to run', choices=['Motion_Deblurring',
|
19 |
'Single_Image_Defocus_Deblurring',
|
20 |
'Deraining',
|
|
|
13 |
import argparse
|
14 |
|
15 |
parser = argparse.ArgumentParser(description='Test Restormer on your own images')
|
16 |
+
parser.add_argument('--input_path', default='./temp/image.jpg', type=str, help='Directory of input images or path of single image')
|
17 |
+
parser.add_argument('--result_dir', default='./temp/', type=str, help='Directory for restored results')
|
18 |
parser.add_argument('--task', required=True, type=str, help='Task to run', choices=['Motion_Deblurring',
|
19 |
'Single_Image_Defocus_Deblurring',
|
20 |
'Deraining',
|