fulouma commited on
Commit
62caad2
·
1 Parent(s): 8a11eb6

update description

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -4,9 +4,6 @@ import torchvision.transforms as transforms
4
  import torch.nn as nn
5
  import numpy as np
6
 
7
- def greet(name):
8
- return "Hello " + name + "!!"
9
-
10
  def predict(model, image, device):
11
  # Preprocess the image
12
  transform = transforms.Compose([
@@ -45,7 +42,7 @@ iface = gr.Interface(
45
  gr.Image(type="pil", label="Input Image", height=512),
46
  ],
47
  outputs=gr.Label(label="Output", show_label=False),
48
- description="天下一品 or 進入禁止",
49
  examples=[
50
  ["examples/ten20.png"],
51
  ["examples/noe33.png"],
 
4
  import torch.nn as nn
5
  import numpy as np
6
 
 
 
 
7
  def predict(model, image, device):
8
  # Preprocess the image
9
  transform = transforms.Compose([
 
42
  gr.Image(type="pil", label="Input Image", height=512),
43
  ],
44
  outputs=gr.Label(label="Output", show_label=False),
45
+ description="画像に映っているのが天下一品のロゴなのか、進入禁止標識なのか判別します",
46
  examples=[
47
  ["examples/ten20.png"],
48
  ["examples/noe33.png"],