sophiamyang commited on
Commit
33701df
1 Parent(s): 0e8d01c

add loading indicators

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -100,8 +100,10 @@ input_widgets = pn.Column(
100
 
101
  # add interactivity
102
  randomize_url.on_click(set_random_url)
103
- interactive_result = pn.bind(
104
- process_inputs, image_url=image_url, class_names=class_names
 
 
105
  )
106
 
107
  # create dashboard
 
100
 
101
  # add interactivity
102
  randomize_url.on_click(set_random_url)
103
+ interactive_result = pn.panel(
104
+ pn.bind(
105
+ process_inputs, image_url=image_url, class_names=class_names
106
+ ), loading_indicator=True
107
  )
108
 
109
  # create dashboard