Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
29 |
-
st.info(f"Generated Prompt for input image: {
|
|
|
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}")
|