Vikas01 commited on
Commit
aac095e
·
1 Parent(s): c458411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -24,13 +24,13 @@ app = Flask(__name__)
24
 
25
  @app.route('/at')
26
  def testme():
27
- return "i am in testme"
28
- # img_file_buffer=st.camera_input("Take a picture")
29
- # if img_file_buffer is not None:
30
- # test_image = Image.open(img_file_buffer)
31
- # st.image(test_image, use_column_width=True)
32
- # if bytes_data is None:
33
- # st.stop()
34
 
35
  # def attend():
36
  # # Face recognition variables
 
24
 
25
  @app.route('/at')
26
  def testme():
27
+ # return "i am in testme"
28
+ img_file_buffer=st.camera_input("Take a picture")
29
+ if img_file_buffer is not None:
30
+ test_image = Image.open(img_file_buffer)
31
+ st.image(test_image, use_column_width=True)
32
+ if bytes_data is None:
33
+ st.stop()
34
 
35
  # def attend():
36
  # # Face recognition variables