Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from flowers_model_run import flower_classification
|
| 3 |
+
from flowers_model_run import img_height
|
| 4 |
+
from flowers_model_run import img_width
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
demo = gr.Interface(fn = flower_classification, inputs= gr.Image(shape=(img_height, img_width)), outputs="text")
|
| 8 |
+
|
| 9 |
+
demo.launch()
|