-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06e8202
commit 91232af
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,6 @@ | |
from transformers import BertTokenizer | ||
import PyPDF2 | ||
import os | ||
os.environ["https_proxy"] = "http://radhakrishna_k:[email protected]:8080" | ||
os.environ["http_proxy"] = "http://radhakrishna_k:[email protected]:8080" | ||
#%% Run the code below [ONLY ONCE] when running the code for the first time ever | ||
# Downloading tokenizer file for model using python as file is huge | ||
''' | ||
|
@@ -141,4 +139,4 @@ def find_factors(x): | |
answer = findAnswerPDF(question,pdf_path,model_path) | ||
|
||
print(f'Question : {question}') | ||
print(f' Answer : {answer}') | ||
print(f' Answer : {answer}') |