djsnuggz commited on
Commit
c6622f8
·
1 Parent(s): 7154877

add formatting

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -12,6 +12,9 @@ def classify_image(img):
12
  image = gr.Image(height=192, width=192)
13
  label = gr.Label()
14
  examples = ['trump.jpg', 'faketrump.jpg']
 
 
 
15
 
16
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
17
  intf.launch(inline=False, share=True)
 
12
  image = gr.Image(height=192, width=192)
13
  label = gr.Label()
14
  examples = ['trump.jpg', 'faketrump.jpg']
15
+ title = 'Trump Imposter Detector'
16
+ description = 'Use this handy tool to know if you are looking at the real Donald Trump or an imposter!'
17
+ enable_queue=True
18
 
19
+ intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, title=title, description=description, enable_queue=enable_queue)
20
  intf.launch(inline=False, share=True)