hbpkillerX commited on
Commit
1827a2b
Β·
1 Parent(s): 86596ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import numpy as np
2
- import gradio as gr
 
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 = gr.Interface(
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 πŸŒ†πŸŽ†",