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