Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def infer(inp):
|
|
27 |
st.title("WaltWhitman-GPT By Ilyas")
|
28 |
|
29 |
text = st.text_area("Enter Prompt")
|
30 |
-
if
|
31 |
-
|
32 |
-
|
|
|
|
27 |
st.title("WaltWhitman-GPT By Ilyas")
|
28 |
|
29 |
text = st.text_area("Enter Prompt")
|
30 |
+
if st.button("Generate Poem"):
|
31 |
+
if text:
|
32 |
+
output = infer(text)
|
33 |
+
st.write(output)
|