Spaces:
Runtime error
Runtime error
Commit
Β·
1827a2b
1
Parent(s):
86596ea
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import numpy as np
|
2 |
-
import
|
|
|
3 |
from PIL import Image
|
4 |
import tensorflow as tf
|
5 |
import keras
|
@@ -32,7 +33,7 @@ def infer(original_image):
|
|
32 |
output_image = np.uint32(output_image)
|
33 |
return output_image
|
34 |
|
35 |
-
iface =
|
36 |
fn=infer,
|
37 |
title="Low Light Image Enhancement",
|
38 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|
|
|
1 |
import numpy as np
|
2 |
+
import streamlit as st
|
3 |
+
#import gradio as gr
|
4 |
from PIL import Image
|
5 |
import tensorflow as tf
|
6 |
import keras
|
|
|
33 |
output_image = np.uint32(output_image)
|
34 |
return output_image
|
35 |
|
36 |
+
iface = st.Interface(
|
37 |
fn=infer,
|
38 |
title="Low Light Image Enhancement",
|
39 |
description = "Keras Implementation of MIRNet model for light up the dark image ππ",
|