File size: 285 Bytes
63f5c99
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
from flowers_model_run import flower_classification
from flowers_model_run import img_height
from flowers_model_run import img_width
   

demo = gr.Interface(fn = flower_classification, inputs= gr.Image(shape=(img_height, img_width)), outputs="text")

demo.launch()