devansh71 commited on
Commit
2bd359f
·
verified ·
1 Parent(s): 0b9d9e6

removed cv

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -4
src/streamlit_app.py CHANGED
@@ -1,14 +1,10 @@
1
  import streamlit as st
2
- import cv2
3
  import numpy as np
4
  from PIL import Image
5
 
6
  # Dummy model function (replace this with your own)
7
  def model(input_image):
8
  # Example: convert to grayscale and return message
9
- gray = cv2.cvtColor(np.array(input_image), cv2.COLOR_RGB2GRAY)
10
- output_image = Image.fromarray(gray)
11
- result_text = "Image processed successfully"
12
  return input_image, 'you are sleepy'
13
 
14
  st.title("📷 Webcam Image Processor")
 
1
  import streamlit as st
 
2
  import numpy as np
3
  from PIL import Image
4
 
5
  # Dummy model function (replace this with your own)
6
  def model(input_image):
7
  # Example: convert to grayscale and return message
 
 
 
8
  return input_image, 'you are sleepy'
9
 
10
  st.title("📷 Webcam Image Processor")