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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,12 +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()
 
1
  import gradio as gr
2
 
3
  iface = gr.Interface(
4
+ fn=None, # この関数はHTMLファイルによって定義される
5
  live=True,
6
  title="Teachable Machine Image Model",
7
  description="Webcam-based image classification using Teachable Machine",
8
  inputs=[],
9
+ outputs=gr.File("gr/index.html"),
10
  )
11
 
12
  iface.launch()