andreped commited on
Commit
64a799b
·
1 Parent(s): 4e6e6d6

Added inference info to gr.Markdown in UI

Browse files
Files changed (1) hide show
  1. demo/src/gui.py +8 -0
demo/src/gui.py CHANGED
@@ -123,6 +123,7 @@ class WebUI:
123
  show_copy_button=True,
124
  scroll_to_output=False,
125
  container=True,
 
126
  )
127
  demo.load(read_logs, None, logs, every=1)
128
 
@@ -191,6 +192,13 @@ class WebUI:
191
  cache_examples=True,
192
  )
193
 
 
 
 
 
 
 
 
194
  with gr.Row():
195
  with gr.Box():
196
  with gr.Column():
 
123
  show_copy_button=True,
124
  scroll_to_output=False,
125
  container=True,
126
+ line_breaks=True,
127
  )
128
  demo.load(read_logs, None, logs, every=1)
129
 
 
192
  cache_examples=True,
193
  )
194
 
195
+ gr.Markdown(
196
+ """
197
+ **NOTE:** Inference might take several minutes (ETA: ~8 minutes), see logs to the left. \\
198
+ The segmentation will be available in the 2D and 3D viewers below when finished.
199
+ """
200
+ )
201
+
202
  with gr.Row():
203
  with gr.Box():
204
  with gr.Column():