Vikas01 commited on
Commit
15b834a
·
1 Parent(s): d0fbc22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -13,7 +13,7 @@ import matplotlib.pyplot as plt
13
  # pylab.rcParams['figure.figsize'] = (10.0, 8.0) # this controls figure size in the notebook
14
 
15
  import io
16
- import gradio as gr
17
 
18
 
19
 
@@ -77,16 +77,8 @@ def attend():
77
 
78
  csv_writer = csv.writer(csv_file)
79
 
80
- @app.route('/at')
81
- def hi():
82
- def snap(image):
83
- return image
84
- demo = gr.Interface(
85
- snap,inputs=gr.inputs.Image(source="webcam", streaming=True,tool=None),outputs="image")
86
- demp.launch()
87
-
88
- if __name__ == "__main__":
89
- hi()
90
 
91
 
92
 
 
13
  # pylab.rcParams['figure.figsize'] = (10.0, 8.0) # this controls figure size in the notebook
14
 
15
  import io
16
+ import streamlit as st
17
 
18
 
19
 
 
77
 
78
  csv_writer = csv.writer(csv_file)
79
 
80
+
81
+
 
 
 
 
 
 
 
 
82
 
83
 
84