Harika22 commited on
Commit
7f47d90
·
verified ·
1 Parent(s): a56f268

Update pages/model.py

Browse files
Files changed (1) hide show
  1. pages/model.py +1 -1
pages/model.py CHANGED
@@ -19,7 +19,7 @@ with st.expander("ℹ️ How It Works", expanded=False):
19
  4. You get a quick summary without watching the whole video! ⚡
20
  """)
21
 
22
- if not hf_token:
23
  st.warning("⚠️ Please set `HUGGINGFACEHUB_API_TOKEN` in your environment.", icon="🔐")
24
 
25
  if st.button("🚀 Generate Summary") and video_url and hf_token:
 
19
  4. You get a quick summary without watching the whole video! ⚡
20
  """)
21
 
22
+ if not HF_Token:
23
  st.warning("⚠️ Please set `HUGGINGFACEHUB_API_TOKEN` in your environment.", icon="🔐")
24
 
25
  if st.button("🚀 Generate Summary") and video_url and hf_token: