Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
17 |
|
18 |
|
19 |
|
@@ -77,16 +77,8 @@ def attend():
|
|
77 |
|
78 |
csv_writer = csv.writer(csv_file)
|
79 |
|
80 |
-
|
81 |
-
|
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 |
|