Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
model = Sequential([
|
| 4 |
layers.experimental.preprocessing.Rescaling(1./255, input_shape=(img_height, img_width, 3)),
|
| 5 |
layers.Conv2D(16, 3, padding='same', activation='relu'),
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from tensorflow.keras.models import Sequential
|
| 3 |
model = Sequential([
|
| 4 |
layers.experimental.preprocessing.Rescaling(1./255, input_shape=(img_height, img_width, 3)),
|
| 5 |
layers.Conv2D(16, 3, padding='same', activation='relu'),
|