Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ from huggingface_hub import InferenceClient
|
|
25 |
if not os.path.exists("MarkdownCode.md"):
|
26 |
with open("MarkdownCode.md", 'w', encoding='utf-8') as f:
|
27 |
f.write("# Default Markdown\nThis is a default Markdown file.")
|
28 |
-
st.
|
29 |
|
30 |
if not os.path.exists("MermaidCode.md"):
|
31 |
with open("MermaidCode.md", 'w', encoding='utf-8') as f:
|
@@ -35,7 +35,7 @@ flowchart LR
|
|
35 |
click A "/?q=Default" _self
|
36 |
click B "/?q=Example" _self
|
37 |
""")
|
38 |
-
st.
|
39 |
|
40 |
# ----------------------------
|
41 |
# Placeholder data structures
|
|
|
25 |
if not os.path.exists("MarkdownCode.md"):
|
26 |
with open("MarkdownCode.md", 'w', encoding='utf-8') as f:
|
27 |
f.write("# Default Markdown\nThis is a default Markdown file.")
|
28 |
+
st.rerun()
|
29 |
|
30 |
if not os.path.exists("MermaidCode.md"):
|
31 |
with open("MermaidCode.md", 'w', encoding='utf-8') as f:
|
|
|
35 |
click A "/?q=Default" _self
|
36 |
click B "/?q=Example" _self
|
37 |
""")
|
38 |
+
st.rerun()
|
39 |
|
40 |
# ----------------------------
|
41 |
# Placeholder data structures
|