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() | |