Spaces:
Runtime error
Runtime error
mrrandom123
commited on
Commit
•
44b1425
1
Parent(s):
988eca2
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,7 @@ st.title("Image Caption and HashTag Generator")
|
|
34 |
image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
35 |
|
36 |
def creative_caption(text):
|
37 |
-
return co_client.generate(prompt=f"Write some trendy, catchy, exciting, innovative, captivating, creative and
|
38 |
-
engaging instagram captions for the following prompt - {text}").generations[0].text
|
39 |
|
40 |
|
41 |
def caption_hashtags(text):
|
|
|
34 |
image_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
35 |
|
36 |
def creative_caption(text):
|
37 |
+
return co_client.generate(prompt=f"Write some trendy, catchy, exciting, innovative, captivating, creative and engaging instagram captions for the following prompt - {text}").generations[0].text
|
|
|
38 |
|
39 |
|
40 |
def caption_hashtags(text):
|