nirmalaag commited on
Commit
78d3202
·
verified ·
1 Parent(s): 6eea86b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def main():
64
  if query:
65
 
66
  #PATH = 'model/'
67
- llm = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
68
  #llm = huggingface_hub.HuggingFaceHub(repo_id="openai-community/gpt2",model_kwargs={"temperature":1.0, "max_length":500})
69
  if query == 'Summarize':
70
  #docs = pdf_reader.load_and_split()
 
64
  if query:
65
 
66
  #PATH = 'model/'
67
+ llm = AutoModelForCausalLM.from_pretrained("openai-community/gpt2-medium")
68
  #llm = huggingface_hub.HuggingFaceHub(repo_id="openai-community/gpt2",model_kwargs={"temperature":1.0, "max_length":500})
69
  if query == 'Summarize':
70
  #docs = pdf_reader.load_and_split()