Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
from transformers import pipeline
|
4 |
+
|
5 |
+
pipe = pipeline("text-generation")
|
6 |
+
|
7 |
+
text=st.text_area('Enter Some Text!')
|
8 |
+
|
9 |
+
id text:
|
10 |
+
out = pipe(text)
|
11 |
+
st.json(out)
|