adelevett commited on
Commit
6740d2d
·
1 Parent(s): 2646f78

app update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def play_simulation_selection(selection: str) -> str:
46
  if custom_simulation_store["video_id"] and custom_simulation_store["chat_data"]:
47
  return load_template_with_data(custom_simulation_store["video_id"], custom_simulation_store["chat_data"])
48
  else:
49
- return "<div style='color:#ff0055; text-align:center; padding:50px; font-family:sans-serif;'>No custom simulation has been generated yet. Please configure and run one in the 'Generator' tab.</div>"
50
  return ""
51
 
52
  def handle_generation(yt_url: str, pdf_file, doc_text: str, srt_text: str, hf_token: str):
 
46
  if custom_simulation_store["video_id"] and custom_simulation_store["chat_data"]:
47
  return load_template_with_data(custom_simulation_store["video_id"], custom_simulation_store["chat_data"])
48
  else:
49
+ return "<div style='color:#ff0055; text-align:center; padding:50px; font-family:sans-serif;'>No custom simulation has been generated yet. Please choose 'Configure Custom Solution'.</div>"
50
  return ""
51
 
52
  def handle_generation(yt_url: str, pdf_file, doc_text: str, srt_text: str, hf_token: str):