akaashp15 commited on
Commit
63f5c99
1 Parent(s): 51361dc

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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()