acloudfan commited on
Commit
8bb4143
1 Parent(s): 2d16d5e

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -59,6 +59,10 @@ MAX_TOKENS=2000
59
  if 'SUMMARY' not in st.session_state:
60
  st.session_state['SUMMARY'] = ''
61
 
 
 
 
 
62
  # function to generate the summary
63
  def generate_summary():
64
 
 
59
  if 'SUMMARY' not in st.session_state:
60
  st.session_state['SUMMARY'] = ''
61
 
62
+ if 'HUGGINGFACEHUB_API_TOKEN' not in st.session_state:
63
+ st.session_state['HUGGINGFACEHUB_API_TOKEN'] = ''
64
+
65
+
66
  # function to generate the summary
67
  def generate_summary():
68