2 Commits
1.0.1 ... main

Author SHA1 Message Date
DarkShy
f49eaac964 Update pony.py 2024-04-11 18:03:56 +03:00
DarkShy
48920ae54a Update README.md 2024-04-11 18:01:53 +03:00
2 changed files with 3 additions and 4 deletions

View File

@@ -14,8 +14,7 @@ git clone https://github.com/DarkShyMW/Random-batpony-generator.git
От туда копируем ваш api_key. Его вставляем в 8 строку - api_key = "тут_ваш_ключ"
```
pip3 install Flask
pip3 install requests
pip install flask requests flask_bootstrap
cd /путь_до_папки/
python3 pony.git

View File

@@ -9,7 +9,7 @@ Bootstrap(app)
# Пишем свой API-key из https://derpibooru.org/registrations/edit
api_key = "nYTuAw8EHfHyfL6TgXPk"
api_key = "ваш_токен"
querry = 'batpony,safe,cute'
# Ищем картинки на derpi
@@ -35,4 +35,4 @@ def index():
tags=random_batpony_image["tags"])
if __name__ == "__main__":
app.run(debug=True)
app.run(debug=True)