williamcfrancis commited on
Commit
1a26914
·
1 Parent(s): fa0a926

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -5,11 +5,11 @@ from tensorflow.keras.preprocessing.image import img_to_array
5
  import argparse
6
  import gradio as gr
7
 
8
- ap= argparse.ArgumentParser()
9
- ap.add_argument('--image', '-i', required=True, help='Path to input blurred image')
10
- ap.add_argument('--angle_model', '-a', required=True, help='Path to trained angle model')
11
- ap.add_argument('--length_model', '-l', required=True, help='Path to trained length model')
12
- args= vars(ap.parse_args())
13
 
14
  def process(ip_image, length, deblur_angle):
15
  noise = 0.01
 
5
  import argparse
6
  import gradio as gr
7
 
8
+ # ap= argparse.ArgumentParser()
9
+ # ap.add_argument('--image', '-i', required=True, help='Path to input blurred image')
10
+ # ap.add_argument('--angle_model', '-a', required=True, help='Path to trained angle model')
11
+ # ap.add_argument('--length_model', '-l', required=True, help='Path to trained length model')
12
+ # args= vars(ap.parse_args())
13
 
14
  def process(ip_image, length, deblur_angle):
15
  noise = 0.01