Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,9 +26,6 @@ def load_model():
|
|
| 26 |
|
| 27 |
tokenizer, model = load_model()
|
| 28 |
|
| 29 |
-
# ### st.title("PDF Summarizer")
|
| 30 |
-
# ### st.markdown("CPU-optimized model for text-to-text transformation (T2T), facilitating efficient and accurate language processing. Multi-lingual but target language is English. Please be gentle, it runs on CPU!")
|
| 31 |
-
|
| 32 |
def summarize(file, text, style, length):
|
| 33 |
text_input = ""
|
| 34 |
if file is not None:
|
|
|
|
| 26 |
|
| 27 |
tokenizer, model = load_model()
|
| 28 |
|
|
|
|
|
|
|
|
|
|
| 29 |
def summarize(file, text, style, length):
|
| 30 |
text_input = ""
|
| 31 |
if file is not None:
|