Spaces:
Sleeping
Sleeping
this is pushing mew visual model
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import gradio as gr
|
|
8 |
import os
|
9 |
import numpy as np
|
10 |
import tensorflow as tf
|
11 |
-
from tensorflow.keras.models import Sequential
|
12 |
from tensorflow.keras.layers import GlobalAveragePooling2D, Dense, Input
|
13 |
from tensorflow.keras.optimizers import Adam
|
14 |
from PIL import Image
|
@@ -133,7 +132,7 @@ with gr.Blocks() as demo:
|
|
133 |
inputs=inputs_traditional,
|
134 |
outputs=outputs_traditional,
|
135 |
title="Profit Prediction using Traditional ML Models"
|
136 |
-
)
|
137 |
|
138 |
with gr.Tab("Deep Learning Models"):
|
139 |
gr.Interface(
|
@@ -141,6 +140,6 @@ with gr.Blocks() as demo:
|
|
141 |
inputs=inputs_deep_learning,
|
142 |
outputs=outputs_deep_learning,
|
143 |
title="Crop Yield Prediction using Deep Learning Models"
|
144 |
-
)
|
145 |
|
146 |
demo.launch()
|
|
|
8 |
import os
|
9 |
import numpy as np
|
10 |
import tensorflow as tf
|
|
|
11 |
from tensorflow.keras.layers import GlobalAveragePooling2D, Dense, Input
|
12 |
from tensorflow.keras.optimizers import Adam
|
13 |
from PIL import Image
|
|
|
132 |
inputs=inputs_traditional,
|
133 |
outputs=outputs_traditional,
|
134 |
title="Profit Prediction using Traditional ML Models"
|
135 |
+
)
|
136 |
|
137 |
with gr.Tab("Deep Learning Models"):
|
138 |
gr.Interface(
|
|
|
140 |
inputs=inputs_deep_learning,
|
141 |
outputs=outputs_deep_learning,
|
142 |
title="Crop Yield Prediction using Deep Learning Models"
|
143 |
+
)
|
144 |
|
145 |
demo.launch()
|