Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
# from transformers import T5Tokenizer, T5ForConditionalGeneration
|
@@ -8,7 +8,7 @@ from transformers import pipeline
|
|
8 |
#from transformers import AutoTokenizer, FlaxLongT5ForConditionalGeneration
|
9 |
|
10 |
#Title
|
11 |
-
|
12 |
|
13 |
#Input text
|
14 |
text ="""
|
|
|
1 |
+
import streamlit as st
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
# from transformers import T5Tokenizer, T5ForConditionalGeneration
|
|
|
8 |
#from transformers import AutoTokenizer, FlaxLongT5ForConditionalGeneration
|
9 |
|
10 |
#Title
|
11 |
+
st.title("SummarizeEasy")
|
12 |
|
13 |
#Input text
|
14 |
text ="""
|