youngtsai commited on
Commit
6991427
·
1 Parent(s): 28353ce
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2966,7 +2966,7 @@ def init_params(text, request: gr.Request):
2966
 
2967
  # check if origin is from junyiacademy
2968
  origin = request.headers.get("origin", "")
2969
- if "junyiacademy" in origin:
2970
  password_text = PASSWORD
2971
  admin = gr.update(visible=False)
2972
  reading_passage_admin = gr.update(visible=False)
 
2966
 
2967
  # check if origin is from junyiacademy
2968
  origin = request.headers.get("origin", "")
2969
+ if "junyiacademy.org" in origin:
2970
  password_text = PASSWORD
2971
  admin = gr.update(visible=False)
2972
  reading_passage_admin = gr.update(visible=False)