Spaces:
Runtime error
Runtime error
Update pages/descriptionGen.py
Browse files- pages/descriptionGen.py +1 -1
pages/descriptionGen.py
CHANGED
@@ -54,7 +54,7 @@ def main():
|
|
54 |
keywords = st.text_input("Keywords (separated by commas)", "black shoes, leather shoes for men, water resistant")
|
55 |
|
56 |
if st.button("Generate Description"):
|
57 |
-
|
58 |
description = product_desc_generator(product_name, keywords, OPENAI_API)
|
59 |
st.subheader("Product Description:")
|
60 |
st.text(description)
|
|
|
54 |
keywords = st.text_input("Keywords (separated by commas)", "black shoes, leather shoes for men, water resistant")
|
55 |
|
56 |
if st.button("Generate Description"):
|
57 |
+
OPENAI_API:
|
58 |
description = product_desc_generator(product_name, keywords, OPENAI_API)
|
59 |
st.subheader("Product Description:")
|
60 |
st.text(description)
|