Spaces:
Runtime error
Runtime error
Commit
·
4f7e369
1
Parent(s):
ad5a37e
re-phrase heading
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
st.title("AI text-gen Web-app")
|
5 |
-
st.write("This is a auto-complete/text generation web-app powered by GPT-neo.
|
6 |
|
7 |
# instantiate the model / download
|
8 |
@st.cache(allow_output_mutation=True)
|
@@ -21,7 +21,7 @@ max_length=st.slider(
|
|
21 |
|
22 |
# create a prompt text for the text generation
|
23 |
prompt_text = st.text_input(
|
24 |
-
label = "
|
25 |
value="We live in a society")
|
26 |
|
27 |
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
st.title("AI text-gen Web-app")
|
5 |
+
st.write("This is a auto-complete/text generation web-app powered by GPT-neo.")
|
6 |
|
7 |
# instantiate the model / download
|
8 |
@st.cache(allow_output_mutation=True)
|
|
|
21 |
|
22 |
# create a prompt text for the text generation
|
23 |
prompt_text = st.text_input(
|
24 |
+
label = "Type some text here and this model will generate more....",
|
25 |
value="We live in a society")
|
26 |
|
27 |
|