a
File size: 316 Bytes
4905854
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

iface = gr.Interface(
    fn=None,  # This function will be defined by the HTML file
    live=True,
    title="Teachable Machine Image Model",
    description="Webcam-based image classification using Teachable Machine",
    inputs=[],
    outputs=gr.HTMLFile("gr/index.html"),
)

iface.launch()