This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model: | |
base_learning_rate: 1.0e-6 | |
target: ldm.models.diffusion.ddpm.LatentDiffusion | |
params: | |
linear_start: 0.00085 | |
linear_end: 0.0120 | |
num_timesteps_cond: 1 | |
log_every_t: 200 | |
timesteps: 1000 | |
first_stage_key: "jpg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { createContext, useEffect, useReducer, useRef } from "react" | |
import MetaMaskOnboarding from "@metamask/onboarding" | |
import Cookies from "js-cookie" | |
type ApiState = | |
| "IDLE" | |
| "CONNECT_INIT" | |
| "CONNECTING" | |
| "ERROR" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
password: ${SHOPIFY_API_PASSWORD} | |
theme_id: ${DEVELOPMENT_THEME_ID} | |
store: your-store.myshopify.com | |
staging: | |
password: ${SHOPIFY_API_PASSWORD} | |
theme_id: ${STAGING_THEME_ID} | |
store: your-store.myshopify.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: python:2 | |
stages: | |
- staging | |
- production | |
staging: | |
image: python:2 | |
stage: staging | |
script: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHOPIFY_API_PASSWORD=your_api_password | |
STAGING_THEME_ID=your_staging_theme_id | |
PRODUCTION_THEME_ID=your_production_theme_id | |
DEVELOPMENT_THEME_ID=your_development_theme_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
env: { | |
browser: true, | |
node: true, | |
es2020: true, | |
}, | |
parser: "@typescript-eslint/parser", | |
parserOptions: { | |
ecmaVersion: 2020, | |
sourceType: "module", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
"target": "ES2017", | |
"lib": ["es6", "dom", "dom.iterable", "esnext"], | |
"allowJs": true, | |
"skipLibCheck": true, | |
"strict": false, | |
"forceConsistentCasingInFileNames": true, | |
"noEmit": true, | |
"esModuleInterop": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": ["next/babel"], | |
"plugins": [ | |
[ | |
"module-resolver", | |
{ | |
"root": ["./"], | |
"alias": { | |
"@components": "./src/components", | |
"@api": "./src/api", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"editor.formatOnSave": true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
env: { | |
browser: true, | |
node: true, | |
es2020: true, | |
}, | |
parser: "@typescript-eslint/parser", | |
parserOptions: { | |
ecmaVersion: 2020, | |
sourceType: "module", |
NewerOlder