Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
bd20201
1
Parent(s):
5f43217
Swap to using Gradio Blocks for markdown (#3)
Browse files- Swap to using Gradio Blocks for markdown (e1b8b1088db4529256ad314998162649088a967b)
Co-authored-by: Anthony Guijarro <[email protected]>
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()
|