Spaces:
Running
Running
remove print
Browse files
app.py
CHANGED
@@ -63,7 +63,6 @@ if uploaded_image is not None:
|
|
63 |
with st.spinner('Generating caption...'):
|
64 |
output = model.generate(**inputs, max_length=1000)
|
65 |
|
66 |
-
print(output)
|
67 |
out = processor.decode(output[0], skip_special_tokens=True)[len(prompt) :]
|
68 |
|
69 |
# Display the extracted text
|
|
|
63 |
with st.spinner('Generating caption...'):
|
64 |
output = model.generate(**inputs, max_length=1000)
|
65 |
|
|
|
66 |
out = processor.decode(output[0], skip_special_tokens=True)[len(prompt) :]
|
67 |
|
68 |
# Display the extracted text
|