Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸŽ‰ Waifu minter #4427

Merged
merged 64 commits into from
Nov 29, 2022
Merged

πŸŽ‰ Waifu minter #4427

merged 64 commits into from
Nov 29, 2022

Conversation

vikiival
Copy link
Member

Please do not ask me about other services
I am glad that it works

  • πŸŽ‰ generative
  • πŸ”§ added replicate url
  • ⚑ Replicate Service Worker
  • ⚑ predict function
  • ⚑ using anime-waifu instead of 16-bit
  • ⚑ image grid
  • ✨ SelectableImage
  • ✨ ImageGrid
  • ⚑ fixed props
  • ⚑ propagate disabled to selectable image
  • 🎨 quick fix so text is not light gray
  • ✨ CongratsView.vue
  • ✨ ContactForm.vue
  • ✨ GenerativeMintForm.vue
  • ✨ ImageSelectGrid.vue
  • 🎨 congrats view has image 1by1
  • ⚑ Submit button in composition API
  • ⚑ Generative mint has steps
  • πŸ› step has not started from step 1
  • πŸ› handle click emitted wrong data
  • πŸ› listening to bad event
  • πŸ› forgot to set correct prompt
  • πŸ› correct step numbers
  • aaaaa still can fix image selector properly
  • 🎨 tweaking button color
  • β™Ώ remove navigation
  • ✨ radioselect
  • πŸŽ‰ set of options
  • πŸ› ability to select none
  • ⚑ finally cute form
  • ⚑ naive impl of prompt builder
  • πŸ› show-empty is not required
  • ⚑ ability to apply style
  • πŸ› prompt builder without spaces
  • ⚑ bring back minting process
  • πŸ› start over went to bad step
  • ⚑ prod addr
  • πŸŽ‰ supabase functions
  • ⚑ submit button can be expanded
  • ⚑ all submit buttons are expanded
  • ⚑ send correct value to supabase service
  • ✨ BasicInput can be disabled
  • ✨ tell how many were generated by @just_luuuu
  • ⚑ full supabase API Ready
  • 🌐 translatioons
  • ⚑ log prediction to supabase
  • πŸŽ‰ netlify waifu service
  • ✨ such creative
  • ✨ я поняття Π½Π΅ маю
  • 🌐 translatioons
  • ⚑ Π΄ΠΎΠ±Ρ€ΠΈΠΉ Π²Π΅Ρ‡Ρ–Ρ€
  • πŸ”§ anon key in supabase
  • ⚑ send image to waifu minter
  • πŸŽ‰ Claim page!
  • ⚑ waifu is powered by supabase proxy
  • πŸ› forgot the version of replicate
  • ⚑ adding seed and version to minter
  • πŸ› bad apii

Thank you for your contribution to the KodaDot NFT gallery.

πŸ‘‡ _ Let's make a quick check before the contribution.

PR Type

  • Bugfix
  • Feature
  • Refactoring

Context

  • Closes #<issue_number>
  • Requires deployment <>

Before submitting pull request, please make sure:

  • My contribution builds clean without any errors or warnings
  • I've merged recent default branch -- main and I've no conflicts
  • I've tried to respect high code quality standards
  • I've didn't break any original functionality
  • I've posted a screenshot of demonstrated change in this PR

Optional

  • I've tested it at </bsx/collection>
  • I've tested PR on mobile
  • I've written unit tests πŸ§ͺ
  • I've found edge cases

Had issue bounty label?

  • Fill up your KSM address: Payout

Community participation

Screenshot πŸ“Έ

  • My fix has changed something on UI; a screenshot is best to understand changes for others.

@vikiival vikiival requested a review from a team as a code owner November 28, 2022 15:54
@vikiival vikiival requested review from prachi00 and removed request for a team November 28, 2022 15:54
@netlify
Copy link

netlify bot commented Nov 28, 2022

βœ… Deploy Preview for koda-nuxt ready!

Name Link
πŸ”¨ Latest commit e1c595c
πŸ” Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/6386715ba6babe000816860a
😎 Deploy Preview https://deploy-preview-4427--koda-nuxt.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

export const getPrediction = async (
predictionId: string
): Promise<PredictionStatus> => {
const prediction = await api<PredictionStatus>(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

address,
email: '',
}
const value = await api<typeof body>('claim-me', {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

replicateId,
prompt,
}
const value = await api<PromptLogResponse>('prompt-me', {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

metadata: url,
image,
}
const value = await api<typeof body>('mint-me', {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

num_inference_steps: '50',
},
}
const value = await api<PredictionRequestStatus>('predict', {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

const COMMA = ','

export const buildPrompt = (options: Options): string => {
const { gender, framing, art, style, having, wearing, lighting, inspiredBy } =
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

// And the vibe? Art was insipired by artist Yaoki

export const buildDescription = (options: Options): string => {
const { gender, framing, art, style, having, wearing, lighting, inspiredBy } =
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

@yangwao
Copy link
Member

yangwao commented Nov 28, 2022

waifus everywhere

@petersopko
Copy link
Contributor

πŸ‘€
image

@vikiival
Copy link
Member Author

Screenshot 2022-11-28 at 20 03 38

@codeclimate
Copy link

codeclimate bot commented Nov 29, 2022

Code Climate has analyzed commit e1c595c and detected 8 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 8

View more on Code Climate.

@vikiival
Copy link
Member Author

YOLO

@vikiival vikiival merged commit 131b9af into main Nov 29, 2022
@vikiival vikiival deleted the waifu-mint branch November 29, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants