Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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 |
|