rydlrKE commited on
Commit
e3641d9
·
1 Parent(s): e1fab61

Rebrand queue and welcome modals to Movimento Demo

Browse files
Files changed (1) hide show
  1. kimodo/demo/queue_manager.py +4 -4
kimodo/demo/queue_manager.py CHANGED
@@ -115,7 +115,7 @@ def _format_wait(seconds: float) -> str:
115
  def _queue_modal_markdown(position: int, total: int, estimated_wait_sec: float) -> str:
116
  wait_str = _format_wait(estimated_wait_sec)
117
  mins = int(MAX_SESSION_MINUTES) if MAX_SESSION_MINUTES == int(MAX_SESSION_MINUTES) else MAX_SESSION_MINUTES
118
- return f"""## Kimodo Demo — Please Wait
119
 
120
  This demo runs with limited capacity.
121
  Each user gets **{mins} minute{"s" if mins != 1 else ""}** of interactive time.
@@ -147,7 +147,7 @@ def _expiry_modal_markdown() -> str:
147
  return f"""## Session Expired
148
 
149
  Your {mins}-minute demo session has ended.
150
- Thank you for trying Kimodo!
151
 
152
  Refresh this page to rejoin the queue, or [duplicate this Space]({DUPLICATE_SPACE_URL}) for unlimited access.
153
  """
@@ -226,7 +226,7 @@ class QueueManager:
226
  md_content = _queue_modal_markdown(pos, total, wait_sec)
227
 
228
  modal = client.gui.add_modal(
229
- "Kimodo Demo — Please Wait",
230
  size="xl",
231
  show_close_button=False,
232
  )
@@ -254,7 +254,7 @@ class QueueManager:
254
  self._show_quick_start_modal(client)
255
 
256
  modal = client.gui.add_modal(
257
- "Welcome to Kimodo Demo",
258
  size="xl",
259
  show_close_button=True,
260
  )
 
115
  def _queue_modal_markdown(position: int, total: int, estimated_wait_sec: float) -> str:
116
  wait_str = _format_wait(estimated_wait_sec)
117
  mins = int(MAX_SESSION_MINUTES) if MAX_SESSION_MINUTES == int(MAX_SESSION_MINUTES) else MAX_SESSION_MINUTES
118
+ return f"""## Movimento Demo — Please Wait
119
 
120
  This demo runs with limited capacity.
121
  Each user gets **{mins} minute{"s" if mins != 1 else ""}** of interactive time.
 
147
  return f"""## Session Expired
148
 
149
  Your {mins}-minute demo session has ended.
150
+ Thank you for trying Movimento!
151
 
152
  Refresh this page to rejoin the queue, or [duplicate this Space]({DUPLICATE_SPACE_URL}) for unlimited access.
153
  """
 
226
  md_content = _queue_modal_markdown(pos, total, wait_sec)
227
 
228
  modal = client.gui.add_modal(
229
+ "Movimento Demo — Please Wait",
230
  size="xl",
231
  show_close_button=False,
232
  )
 
254
  self._show_quick_start_modal(client)
255
 
256
  modal = client.gui.add_modal(
257
+ "Welcome to Movimento Demo",
258
  size="xl",
259
  show_close_button=True,
260
  )