Spaces:
Runtime error
Runtime error
change import order
Browse files
app.py
CHANGED
@@ -3,10 +3,11 @@ from pathlib import Path
|
|
3 |
import numpy as np
|
4 |
import tensorflow as tf
|
5 |
import gradio as gr
|
6 |
-
|
7 |
import cv2
|
8 |
import keras
|
9 |
from keras import Sequential
|
|
|
10 |
from keras.layers import Flatten, Dense
|
11 |
|
12 |
pace_model_weights_path = (Path.cwd() / "models" / "pace_model_weights.h5").resolve()
|
|
|
3 |
import numpy as np
|
4 |
import tensorflow as tf
|
5 |
import gradio as gr
|
6 |
+
|
7 |
import cv2
|
8 |
import keras
|
9 |
from keras import Sequential
|
10 |
+
from keras.applications.resnet50 import ResNet50
|
11 |
from keras.layers import Flatten, Dense
|
12 |
|
13 |
pace_model_weights_path = (Path.cwd() / "models" / "pace_model_weights.h5").resolve()
|