Spaces:
Runtime error
Runtime error
ugly markdown
Browse files
app.py
CHANGED
@@ -13,16 +13,16 @@ def gen_show_caption(sub_prompt=None, cap_prompt = ""):
|
|
13 |
subreddit, caption = virtexModel.predict(image_dict, sub_prompt=sub_prompt, prompt = cap_prompt)
|
14 |
st.markdown(
|
15 |
f"""
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
"""
|
27 |
)
|
28 |
|
|
|
13 |
subreddit, caption = virtexModel.predict(image_dict, sub_prompt=sub_prompt, prompt = cap_prompt)
|
14 |
st.markdown(
|
15 |
f"""
|
16 |
+
<style>
|
17 |
+
red{{
|
18 |
+
color:red
|
19 |
+
}}
|
20 |
+
mono{{
|
21 |
+
font-family: "Courier New";
|
22 |
+
}}
|
23 |
+
</style>
|
24 |
+
|
25 |
+
## <mono> <red> r/ {subreddit} </red> {caption} </mono>
|
26 |
"""
|
27 |
)
|
28 |
|