yjernite HF staff commited on
Commit
98dc7af
1 Parent(s): 32fa48e

Update posts/conclusion.py

Browse files
Files changed (1) hide show
  1. posts/conclusion.py +2 -2
posts/conclusion.py CHANGED
@@ -1,4 +1,5 @@
1
  import json
 
2
  from datetime import datetime
3
  from io import BytesIO
4
  from time import time
@@ -22,8 +23,7 @@ Here are some of the main ideas we have conveyed in this exploration:
22
  Next, please answer the following questions about the information presented in this demo:
23
  """
24
 
25
- _HF_TOKEN = st.secrets["WRITE_TOKEN"]
26
-
27
 
28
  def run_article():
29
  st.markdown(__KEY_TAKEAWAYS)
 
1
  import json
2
+ import os
3
  from datetime import datetime
4
  from io import BytesIO
5
  from time import time
 
23
  Next, please answer the following questions about the information presented in this demo:
24
  """
25
 
26
+ _HF_TOKEN = os.getenv('WRITE_TOKEN')
 
27
 
28
  def run_article():
29
  st.markdown(__KEY_TAKEAWAYS)