Skip to content

Commit

Permalink
docs: remove unused badges from README
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrasev committed Sep 13, 2024
1 parent 2a3b9ac commit 1e91d79
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
</figure>
<div align="center">

<a href='https://follow-your-click.github.io/'><img src='https://img.shields.io/badge/Project-Page-Green'></a> ![visitors](https://visitor-badge.laobi.icu/badge?page_id=ultrasev.stream-whisper&left_color=green&right_color=red) [![GitHub](https://img.shields.io/github/stars/ultrasev/stream-whisper?style=social)](https://github.com/ultrasev/stream-whisper)
</div>


# 使用方法
Expand Down
14 changes: 14 additions & 0 deletions src/docker/a.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from celery import Celery

# Configure Celery to use RabbitMQ as the broker

amqpurl = 'amqps://svumkmdp:[email protected]/svumkmdp'
amqpurl = 'redis://:0KuY45rROfxG6qND2CkqhQIEPTKVgkqA@redis-12289.c51.ap-southeast-2-1.ec2.cloud.redislabs.com:12289'
app = Celery('tasks', broker=amqpurl, backend=amqpurl)

# Define a task


@app.task
def add(x, y):
return x + y
5 changes: 5 additions & 0 deletions src/docker/b.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from consume import c

result = add.delay(4, 4)
print('Waiting for result...')
print('Result:', result.get())

0 comments on commit 1e91d79

Please sign in to comment.