Vikas01 commited on
Commit
3fac891
·
1 Parent(s): 6a111e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -20
app.py CHANGED
@@ -7,36 +7,21 @@ import numpy as np
7
  import csv
8
  from datetime import datetime
9
 
 
10
  import matplotlib.pyplot as plt
11
- # from matplotlib import pyplot as plt # this lets you draw inline pictures in the notebooks
12
- # import pylab # this allows you to control figure size
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
- import streamlit_webrtc as webrtc
18
 
19
 
20
- app = Flask(__name__)
21
-
22
-
23
- # @app.route("/")
24
- # def index():
25
- # #return 'hello'
26
- # return render_template("index.html")
27
 
 
28
 
29
- ####################################################
30
- # app = Flask(__name__)
31
 
32
- # app.config['SECRET_KEY'] = 'secret!'
33
- # socket = SocketIO(app,async_mode="eventlet")
34
 
35
- # @socket.on("connect")
36
- # def test_connect():
37
- # print("Connected")
38
- # emit("my response", {"data": "Connected"})
39
- ########################################################
40
  @app.route('/at')
41
  def attend():
42
  # Face recognition variables
 
7
  import csv
8
  from datetime import datetime
9
 
10
+ ############################################
11
  import matplotlib.pyplot as plt
12
+ import pylab # this allows you to control figure size
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
+ ##################################################3
 
 
 
 
 
 
20
 
21
+ app = Flask(__name__)
22
 
 
 
23
 
 
 
24
 
 
 
 
 
 
25
  @app.route('/at')
26
  def attend():
27
  # Face recognition variables