Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,6 @@ with er:
|
|
30 |
prompt = st.text_input("Enter topic")
|
31 |
if st.button("Generate ✨"):
|
32 |
res = chat("Generate 5 funny jokes on this topic: " + prompt)
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
30 |
prompt = st.text_input("Enter topic")
|
31 |
if st.button("Generate ✨"):
|
32 |
res = chat("Generate 5 funny jokes on this topic: " + prompt)
|
33 |
+
if res:
|
34 |
+
with mr:
|
35 |
+
st.write(res)
|