Spaces:
Build error
Build error
Merge branch 'main' of https://huggingface.co/spaces/flax-community/koclip
Browse files- 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:
|