Spaces:
Runtime error
Runtime error
Add a colon after subreddit name.
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def gen_show_caption(sub_prompt=None, cap_prompt=""):
|
|
21 |
remaining {{ color: black; font-size: 1.5rem }}
|
22 |
</style>
|
23 |
|
24 |
-
|
25 |
""",
|
26 |
unsafe_allow_html=True,
|
27 |
)
|
@@ -109,7 +109,7 @@ For more details, visit [redcaps.xyz](https://redcaps.xyz) check out
|
|
109 |
our [NeurIPS 2021 paper](https://openreview.net/forum?id=VjJxBi1p9zh).
|
110 |
""")
|
111 |
|
112 |
-
_, center, _ = st.columns([1,
|
113 |
|
114 |
with center:
|
115 |
st.image(show_image)
|
|
|
21 |
remaining {{ color: black; font-size: 1.5rem }}
|
22 |
</style>
|
23 |
|
24 |
+
<red>r/{subreddit}</red>: <blue> {cap_prompt} </blue><remaining> {caption} </remaining>
|
25 |
""",
|
26 |
unsafe_allow_html=True,
|
27 |
)
|
|
|
109 |
our [NeurIPS 2021 paper](https://openreview.net/forum?id=VjJxBi1p9zh).
|
110 |
""")
|
111 |
|
112 |
+
_, center, _ = st.columns([1, 10, 1])
|
113 |
|
114 |
with center:
|
115 |
st.image(show_image)
|