Akbartus commited on
Commit
aa9a0b4
·
verified ·
1 Parent(s): 648e984

Update main2.py

Browse files
Files changed (1) hide show
  1. main2.py +0 -2
main2.py CHANGED
@@ -7,8 +7,6 @@ app = FastAPI()
7
  # Initialize the text generation pipeline
8
  # This function will be able to generate text
9
  # given an input.
10
- pipe = pipeline("text2text-generation", model="google/flan-t5-small")
11
-
12
  summarizer = pipeline("summarization", model="google-t5/t5-base", tokenizer="google-t5/t5-base", framework="tf")
13
 
14
 
 
7
  # Initialize the text generation pipeline
8
  # This function will be able to generate text
9
  # given an input.
 
 
10
  summarizer = pipeline("summarization", model="google-t5/t5-base", tokenizer="google-t5/t5-base", framework="tf")
11
 
12