Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,6 @@ action = st.sidebar.selectbox("Pick an Action", ["Generate an Article","Create a
|
|
23 |
|
24 |
if action == "Generate an Article":
|
25 |
prompt = st.text_input("Enter a prompt")
|
26 |
-
res =
|
27 |
st.write(res)
|
28 |
|
|
|
23 |
|
24 |
if action == "Generate an Article":
|
25 |
prompt = st.text_input("Enter a prompt")
|
26 |
+
res = text_generator( prompt, max_length=100, temperature=0.7)
|
27 |
st.write(res)
|
28 |
|