Shruti9756 commited on
Commit
956d996
·
verified ·
1 Parent(s): 2288f56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline, AutoTokenizer
3
  import base64
4
 
5
  # Load the GPT-2 text generation model from Hugging Face
6
- text_generator = pipeline("text-generation", model="EleutherAI/gpt-neo-2.7B")
7
 
8
  # Increase the maximum token limit
9
  tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-neo-2.7B")
 
3
  import base64
4
 
5
  # Load the GPT-2 text generation model from Hugging Face
6
+ text_generator = pipeline("text-generation", model="Shruti9756/G24_Contract_Summarization_step3")
7
 
8
  # Increase the maximum token limit
9
  tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-neo-2.7B")