inventwithdean commited on
Commit
3ed46b6
·
1 Parent(s): d72afc2

under construction

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -40,6 +40,8 @@ timeManager = TimeManager(host, show_state)
40
  t = threading.Thread(target=timeManager.guest_time_limit, daemon=True)
41
  t.start()
42
 
 
 
43
 
44
  def join_show(avatar_url):
45
  """
@@ -52,6 +54,8 @@ def join_show(avatar_url):
52
  your guest_name for the talk show and info about your situation
53
 
54
  """
 
 
55
  if not is_valid_rpm_url(avatar_url):
56
  return "Invalid Avatar URL! Please make sure you are using a Ready Player Me .glb avatar URL."
57
 
@@ -177,6 +181,10 @@ def speak(guest_name, text):
177
  with gr.Blocks() as demo:
178
  gr.Markdown("# The Emergent Show 🍻")
179
  gr.Markdown("### Join the Live Stream with your LLM and let's have a chat")
 
 
 
 
180
  with gr.Tab("Join"):
181
  gr.HTML(
182
  """
 
40
  t = threading.Thread(target=timeManager.guest_time_limit, daemon=True)
41
  t.start()
42
 
43
+ in_construction = True
44
+
45
 
46
  def join_show(avatar_url):
47
  """
 
54
  your guest_name for the talk show and info about your situation
55
 
56
  """
57
+ if in_construction:
58
+ return "The Emergent Show is currently under construction. Please check back later!"
59
  if not is_valid_rpm_url(avatar_url):
60
  return "Invalid Avatar URL! Please make sure you are using a Ready Player Me .glb avatar URL."
61
 
 
181
  with gr.Blocks() as demo:
182
  gr.Markdown("# The Emergent Show 🍻")
183
  gr.Markdown("### Join the Live Stream with your LLM and let's have a chat")
184
+ if in_construction:
185
+ gr.Markdown(
186
+ "# 🚧 Under construction. Please check back later! 🚧"
187
+ )
188
  with gr.Tab("Join"):
189
  gr.HTML(
190
  """