jaketae commited on
Commit
cb6e7b6
โ€ข
2 Parent(s): 5dce03a b3a4deb

Merge branch 'main' of https://huggingface.co/spaces/flax-community/koclip

Browse files
Files changed (1) hide show
  1. image2text.py +1 -0
image2text.py CHANGED
@@ -17,6 +17,7 @@ def app(model_name):
17
  )
18
 
19
  query = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
 
20
 
21
  if st.button("์งˆ๋ฌธ (Query)"):
22
  if query is None:
17
  )
18
 
19
  query = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
20
+ captions = st.text_input("์‚ฌ์šฉํ•˜์‹ค ์บก์…˜์„ ์‰ผํ‘œ ๋‹จ์œ„๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์ ์–ด์ฃผ์„ธ์š”", value="๊ณ ์–‘์ด,๊ฐ•์•„์ง€,๋Šํ‹ฐ๋‚˜๋ฌด...")
21
 
22
  if st.button("์งˆ๋ฌธ (Query)"):
23
  if query is None: