Spaces:
Runtime error
Runtime error
Download server/db/__init__.py from TheAbyss99/abyss-api: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/TheAbyss99/abyss-api/resolve/main/server/db/__init__.py
- Command line
-
hf download hf://spaces/TheAbyss99/abyss-api/server/db/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/TheAbyss99/abyss-api/resolve/main/server/db/__init__.py
313 Bytes
| from server.db.db import ( | |
| init_db, | |
| init_users_table, | |
| init_moderation_table, | |
| record_moderation_event, | |
| list_moderation_events, | |
| create_conversation, | |
| add_message, | |
| get_messages, | |
| list_conversations, | |
| get_conversation, | |
| create_user, | |
| get_user_by_email, | |
| get_user_by_id, | |
| ) |