Harpreet1313 commited on
Commit
4d98796
·
1 Parent(s): c7e849a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -136,4 +136,12 @@ while True:
136
  cv2.FONT_HERSHEY_DUPLEX, 3, (0, 0, 255), 5, cv2.LINE_AA)
137
  cv2.imshow('Result', stackedImage)
138
  cv2.waitKey(300)
139
- count += 1
 
 
 
 
 
 
 
 
 
136
  cv2.FONT_HERSHEY_DUPLEX, 3, (0, 0, 255), 5, cv2.LINE_AA)
137
  cv2.imshow('Result', stackedImage)
138
  cv2.waitKey(300)
139
+ count += 1
140
+
141
+
142
+ app=gr.Interface(fn=process_video,
143
+ inputs=gr.Image(type='filepath'),
144
+ outputs=gr.Image(),
145
+ examples=["1.jpg","2.jpg",'3.jpg'],
146
+ title="OMR Grading App")
147
+ app.launch()