osanseviero HF staff commited on
Commit
7068af2
β€’
1 Parent(s): 37aa8f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -64,11 +64,14 @@ def predict(im):
64
  return outputs
65
 
66
  title = "Draw to Search"
 
 
67
  iface = gr.Interface(
68
  fn=predict,
69
  inputs='sketchpad',
70
  outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Image(type="file"), gr.outputs.Image(type="file"), gr.outputs.Image(type="file")],
71
  title=title,
 
72
  live=True
73
  )
74
  iface.launch(debug=True)
64
  return outputs
65
 
66
  title = "Draw to Search"
67
+ description = "Using the power of CLIP and a simple small CNN, find images from movies based on what you draw!"
68
+
69
  iface = gr.Interface(
70
  fn=predict,
71
  inputs='sketchpad',
72
  outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Image(type="file"), gr.outputs.Image(type="file"), gr.outputs.Image(type="file")],
73
  title=title,
74
+ description=description,
75
  live=True
76
  )
77
  iface.launch(debug=True)