yash-srivastava19 commited on
Commit
90beac2
·
1 Parent(s): 62eb258

Update app.py

Browse files

somethings happen for a good reason

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,11 +29,11 @@ def predict(image):
29
 
30
 
31
  def creative_caption(text):
32
- return co_client.generate(prompt=f"Write some trendy instagram captions for the following prompt - {text}")
33
 
34
 
35
  def caption_hashtags(text):
36
- return co_client.generate(prompt=f"Write some trendy instagram hashtags for the following prompt - {text}")
37
 
38
 
39
  input_upload = gr.Image(label="Upload any Image")
 
29
 
30
 
31
  def creative_caption(text):
32
+ return co_client.generate(prompt=f"Write some trendy instagram captions for the following prompt - {text}").text
33
 
34
 
35
  def caption_hashtags(text):
36
+ return co_client.generate(prompt=f"Write some trendy instagram hashtags for the following prompt - {text}").text
37
 
38
 
39
  input_upload = gr.Image(label="Upload any Image")