Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import keras.backend as K
|
|
2 |
import gradio as gr
|
3 |
import numpy as np
|
4 |
|
5 |
-
|
6 |
def psnr(y_true, y_pred):
|
7 |
return -10*K.log(K.mean(K.flatten((y_true - y_pred))**2)) / np.log(10)
|
8 |
|
|
|
2 |
import gradio as gr
|
3 |
import numpy as np
|
4 |
|
|
|
5 |
def psnr(y_true, y_pred):
|
6 |
return -10*K.log(K.mean(K.flatten((y_true - y_pred))**2)) / np.log(10)
|
7 |
|