Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Swap to using Gradio Blocks for markdown
#3
by
Anthonyg5005
- opened
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()
|