Isaoudata commited on
Commit
b78dd53
·
1 Parent(s): 632f9ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 text:
31
- output = infer(text)
32
- st.write(output)
 
 
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)