dbetm commited on
Commit
6b4d04d
1 Parent(s): 71455dd

add title and description

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -44,5 +44,14 @@ examples = [
44
  for filename in ("mona_lisa.jpg", "starry_night.jpg", "persistence_memory.jpg")
45
  ]
46
 
47
- gui = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
 
 
 
 
 
 
 
 
48
  gui.launch(inline=False)
 
44
  for filename in ("mona_lisa.jpg", "starry_night.jpg", "persistence_memory.jpg")
45
  ]
46
 
47
+ gui = gr.Interface(
48
+ fn=classify_image,
49
+ inputs=image,
50
+ outputs=label,
51
+ examples=examples,
52
+ title="Detect the painter",
53
+ description=(
54
+ f"Detect if the given painting image is by a famous painter ({full_name_cats})."
55
+ )
56
+ )
57
  gui.launch(inline=False)