-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
π Waifu minter #4427
Conversation
β Deploy Preview for koda-nuxt ready!
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>( |
There was a problem hiding this comment.
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', { |
There was a problem hiding this comment.
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', { |
There was a problem hiding this comment.
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', { |
There was a problem hiding this comment.
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', { |
There was a problem hiding this comment.
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 } = |
There was a problem hiding this comment.
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 } = |
There was a problem hiding this comment.
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.
Code Climate has analyzed commit e1c595c and detected 8 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
YOLO |
Please do not ask me about other services
I am glad that it works
Thank you for your contribution to the KodaDot NFT gallery.
π _ Let's make a quick check before the contribution.
PR Type
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot πΈ