bosayama commited on
Commit
4905854
·
verified ·
1 Parent(s): dd76c38

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ iface = gr.Interface(
4
+ fn=None, # This function will be defined by the HTML file
5
+ live=True,
6
+ title="Teachable Machine Image Model",
7
+ description="Webcam-based image classification using Teachable Machine",
8
+ inputs=[],
9
+ outputs=gr.HTMLFile("gr/index.html"),
10
+ )
11
+
12
+ iface.launch()