johnbradley commited on
Commit
116dbd4
β€’
1 Parent(s): 5c22387

Use description for app header

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,6 +53,7 @@ def read_app_header_markdown():
53
  return infile.read()
54
 
55
  dm_app = gr.Interface(
 
56
  fn=run_inference,
57
  # Input shows markdown explaining and app and a single image upload panel
58
  inputs=[
@@ -64,7 +65,6 @@ dm_app = gr.Interface(
64
  gr.Image(label='mask'),
65
  gr.JSON(label="JSON metadata")
66
  ],
67
- article=read_app_header_markdown(),
68
  allow_flagging="never", # Do not save user's results or prompt for users to save the results
69
  examples=EXAMPLES,
70
  )
 
53
  return infile.read()
54
 
55
  dm_app = gr.Interface(
56
+ description=read_app_header_markdown(),
57
  fn=run_inference,
58
  # Input shows markdown explaining and app and a single image upload panel
59
  inputs=[
 
65
  gr.Image(label='mask'),
66
  gr.JSON(label="JSON metadata")
67
  ],
 
68
  allow_flagging="never", # Do not save user's results or prompt for users to save the results
69
  examples=EXAMPLES,
70
  )