Spaces:
Sleeping
Sleeping
File size: 1,253 Bytes
c9976b6 17b91ab |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
---
title: Transformers Github Bot
emoji: π
colorFrom: green
colorTo: pink
sdk: gradio
sdk_version: 4.19.1
app_file: app.py
pinned: false
license: apache-2.0
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Issue bot π€
This bot is designed to help you manage your GitHub issues. At the moment, it can:
- Find similar issues to another issue
- Find similar issues similar to a query
## Usage
### Update stored issues and embeddings
If you want to use the command line to manually update you can run:
```bash
# Fetches and saves new issues to issues.json
python utils/fetch.py --update
# Updates and issues which have had a status change and save to issues.json
python utils/update_stored_issues.py
# Update index of issues
python utils/build_issue_dict.py
# Update embeddings for issues
python utils/build_embeddings.py issue --update
# Update embeddings for pull requests
python utils/build_embeddings.py pull --update
```
### Find similar issues to another issue
By issue number:
```bash
python utils/find_similar_issues.py --issue_no <issue_number>
```
By query:
```bash
python utils/find_similar_issues.py --query <query>
```
## TODO
- [ ] Find who to assign an issue to
|