Kvikontent commited on
Commit
34838a7
·
verified ·
1 Parent(s): a46c841

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,5 +25,5 @@ if subm_btn and img_prompt is not None:
25
  image_bytes = image_bytes.getvalue()
26
 
27
  output = query(image_bytes)
28
- #prompt = output['generated_text']
29
- st.info(f"Generated Prompt for input image: {output}")
 
25
  image_bytes = image_bytes.getvalue()
26
 
27
  output = query(image_bytes)
28
+ prompt = output[0]['generated_text']
29
+ st.info(f"Generated Prompt for input image: {prompt}")