TroglodyteDerivations commited on
Commit
a314d7a
1 Parent(s): 96d1d39

Removed lines 4 & 5. Modified line 6

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import os
3
 
4
- from getpass import getpass
5
- HUGGINGFACEHUB_API_TOKEN = getpass()
6
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
7
 
8
 
9
  from langchain_community.document_loaders import PyPDFLoader
 
1
  import gradio as gr
2
  import os
3
 
4
+ #from getpass import getpass
5
+ #HUGGINGFACEHUB_API_TOKEN = getpass()
6
+ os.getenv["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
7
 
8
 
9
  from langchain_community.document_loaders import PyPDFLoader