Fariddvp commited on
Commit
99d09d7
1 Parent(s): 27521fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -22,8 +22,8 @@ gemma_pipe = pipeline(
22
  )
23
 
24
  # Initialize the Bloom model
25
- bloom_model = BloomForCausalLM.from_pretrained("bigscience/bloom-1b3")
26
- bloom_tokenizer = BloomTokenizerFast.from_pretrained("bigscience/bloom-1b3")
27
 
28
  def extract_text_from_pdf(pdf_file):
29
  document = fitz.open(pdf_file)
@@ -122,4 +122,3 @@ iface = gr.Interface(
122
  )
123
 
124
  iface.launch()
125
-
 
22
  )
23
 
24
  # Initialize the Bloom model
25
+ bloom_model = BloomForCausalLM.from_pretrained("bigscience/bloom-560m")
26
+ bloom_tokenizer = BloomTokenizerFast.from_pretrained("bigscience/bloom-560m")
27
 
28
  def extract_text_from_pdf(pdf_file):
29
  document = fitz.open(pdf_file)
 
122
  )
123
 
124
  iface.launch()