Spaces:
Sleeping
Sleeping
Display visitors count badge
Browse files
app.py
CHANGED
@@ -88,9 +88,9 @@ def display_page_header_content():
|
|
88 |
|
89 |
st.title(APP_TEXT['app_name'])
|
90 |
st.subheader(APP_TEXT['caption'])
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
|
95 |
|
96 |
def display_page_footer_content():
|
@@ -284,7 +284,7 @@ def generate_slide_deck(json_str: str):
|
|
284 |
f"{APP_TEXT['json_parsing_error']}"
|
285 |
f"\n\nAdditional error info: {ve}"
|
286 |
f"\n\nHere are some sample instructions that you could try to possibly fix this error;"
|
287 |
-
f"if these don't work, try rephrasing or refreshing:"
|
288 |
f"\n\n"
|
289 |
"- Regenerate content and fix the JSON error."
|
290 |
"\n- Regenerate content and fix the JSON error. Quotes inside quotes should be escaped."
|
|
|
88 |
|
89 |
st.title(APP_TEXT['app_name'])
|
90 |
st.subheader(APP_TEXT['caption'])
|
91 |
+
st.markdown(
|
92 |
+
'![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fbarunsaha%2Fslide-deck-ai&countColor=%23263759)' # noqa: E501
|
93 |
+
)
|
94 |
|
95 |
|
96 |
def display_page_footer_content():
|
|
|
284 |
f"{APP_TEXT['json_parsing_error']}"
|
285 |
f"\n\nAdditional error info: {ve}"
|
286 |
f"\n\nHere are some sample instructions that you could try to possibly fix this error;"
|
287 |
+
f" if these don't work, try rephrasing or refreshing:"
|
288 |
f"\n\n"
|
289 |
"- Regenerate content and fix the JSON error."
|
290 |
"\n- Regenerate content and fix the JSON error. Quotes inside quotes should be escaped."
|