Spaces:
Runtime error
Runtime error
init!
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
from transformers import pipeline
|
3 |
summarizer = pipeline("summarization", model="google/bigbird-pegasus-large-bigpatent")
|
4 |
text=st.text_area('Enter Patent Text')
|
|
|
1 |
import streamlit as st
|
2 |
+
!pip install transformers
|
3 |
from transformers import pipeline
|
4 |
summarizer = pipeline("summarization", model="google/bigbird-pegasus-large-bigpatent")
|
5 |
text=st.text_area('Enter Patent Text')
|