Do imaginary people dream of electric sheep?
/mēTHək(ə)l/
Generate a non-existent profile with methical. An AI-generated photo, names, residence and description that aren't a part of anyone that has been born on Earth (yet).
This repository contains the backend of the project. If you wish to access the front-end, please visit the Methical frontend.
- Frontend written with Next.js
- API written with ASP.NET Core
- CI/CD via Github Actions
- Deployed to Azure App Service
Model | Citation | How it's used in this demo |
---|---|---|
GPT-J 6B | Wang et al., 2021 | 💬 Text generation for the bio |
StyleGAN2 | Karras et al., 2020 | 💆♀️ Generate faces |
Stable Diffusion | Rombach et al., 2022 | 💆♀️ Generate faces |
The following are the steps on running the server locally.
Clone the repository.
git clone https://github.com/gmlunesa/methical-frontend.git
This projects uses App secrets to store the HuggingFace API token.
To store secrets locally via the Secret Manager tool,
dotnet user-secrets init
dotnet user-secrets set "MLPlatform:Token" "XXXXXXXXXXXXX"
When deploying to Azure, secrets will need to be stored in the Azure Key Vault.
az keyvault secret set --vault-name {KEY VAULT NAME} --name "MLPlatform--Token" --value "XXXXXXXXXXXXX"
Run the application.
dotnet run --project Methical
- Favicon is from the open source project Twemoji.
Made with 💫✨ by gmlunesa