lampongyuen commited on
Commit
44a10eb
·
1 Parent(s): b87a028

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py DELETED
@@ -1,15 +0,0 @@
1
- # https://www.gradio.app/guides/reactive-interfaces
2
- import gradio as gr
3
- import numpy as np
4
-
5
- def process_img(img):
6
- new_img = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
7
- return new_img
8
-
9
- demo = gr.Interface(
10
- process_img,
11
- gr.Image(sources=["webcam"], streaming=True),
12
- "image",
13
- live=True
14
- )
15
- demo.launch()