Mr-Vicky-01 commited on
Commit
22e07a6
1 Parent(s): e9d2428

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,5 +1,8 @@
1
  from langchain import HuggingFaceHub
2
  import gradio as gr
 
 
 
3
 
4
  checkpoint = "Mr-Vicky-01/Bart-Finetuned-conversational-summarization"
5
 
 
1
  from langchain import HuggingFaceHub
2
  import gradio as gr
3
+ import os
4
+
5
+ os.environ['HUGGINGFACEHUB_API_TOKEN'] = os.getenv("HF_TOKEN")
6
 
7
  checkpoint = "Mr-Vicky-01/Bart-Finetuned-conversational-summarization"
8