nukimayasari
commited on
Commit
•
096fed5
1
Parent(s):
bdb85ba
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from tensorflow.keras.models import load_model
|
3 |
from tensorflow.keras.metrics import MeanAbsoluteError
|
4 |
import tensorflow as tf
|
|
|
5 |
|
6 |
# Register custom metric
|
7 |
tf.keras.utils.get_custom_objects().update({"mae": MeanAbsoluteError()})
|
|
|
2 |
from tensorflow.keras.models import load_model
|
3 |
from tensorflow.keras.metrics import MeanAbsoluteError
|
4 |
import tensorflow as tf
|
5 |
+
import numpy as np
|
6 |
|
7 |
# Register custom metric
|
8 |
tf.keras.utils.get_custom_objects().update({"mae": MeanAbsoluteError()})
|