yash-srivastava19 commited on
Commit
b8738cc
·
1 Parent(s): 4d75d06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ 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", type='pil', optional=True)
40
  output = [
41
  gr.Textbox(type="auto", label="Captions"),
42
  gr.Textbox(type="auto", label="Hashtags"),
 
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")
40
  output = [
41
  gr.Textbox(type="auto", label="Captions"),
42
  gr.Textbox(type="auto", label="Hashtags"),