Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
generator = pipeline('text-generation', model='gpt2')
|
5 |
-
set_seed(41)
|
6 |
|
7 |
text = st.text_area('Enter Explanation')
|
8 |
if text:
|
|
|
1 |
+
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
generator = pipeline('text-generation', model='gpt2')
|
|
|
5 |
|
6 |
text = st.text_area('Enter Explanation')
|
7 |
if text:
|