Spaces:
Build error
Build error
Commit
·
6456732
1
Parent(s):
908b66d
Update app.py
Browse files
app.py
CHANGED
@@ -1 +1,15 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# import streamlit as st
|
2 |
+
import cv2
|
3 |
+
import numpy as np
|
4 |
+
import time
|
5 |
+
|
6 |
+
# st.title("Super Resolution")
|
7 |
+
|
8 |
+
|
9 |
+
def load_image(image_path):
|
10 |
+
image = cv2.imread(image_path)
|
11 |
+
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
12 |
+
return image
|
13 |
+
|
14 |
+
|
15 |
+
# image_file = st.file_uploader("Upload Image", type=("jpg", "jpeg", "png"))
|