Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Anthonyg5005
commited on
Commit
•
e1b8b10
1
Parent(s):
5f43217
Swap to using Gradio Blocks for markdown
Browse filesInstead of using the greet demo interface, switch to a static markdown page.
app.py
CHANGED
@@ -463,8 +463,10 @@ def run_bot():
|
|
463 |
|
464 |
threading.Thread(target=run_bot).start()
|
465 |
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
|
|
|
|
470 |
demo.launch()
|
|
|
463 |
|
464 |
threading.Thread(target=run_bot).start()
|
465 |
|
466 |
+
with gr.Blocks() as demo:
|
467 |
+
gr.Markdown(
|
468 |
+
r"""
|
469 |
+
# Client for the [HuggingFace Discord](https://hf.co/join/discord) bot
|
470 |
+
All code for this bot is under the [app.py](https://huggingface.co/spaces/discord-community/HuggingMod/blob/main/app.py) file.
|
471 |
+
""")
|
472 |
demo.launch()
|