Comments (10)
-- Create the models table first since it's referenced by other tables
CREATE TABLE models (
id INT8 PRIMARY KEY,
name TEXT NOT NULL,
type TEXT NOT NULL,
created_at TIMESTAMPTZ DEFAULT NOW(),
user_id UUID REFERENCES auth.users(id),
status TEXT NOT NULL,
modelId TEXT -- No need for unique constraint on this column anymore
);
-- Create the images table
CREATE TABLE images (
id INT8 PRIMARY KEY,
modelId INT8 REFERENCES models(id),
uri TEXT NOT NULL,
created_at TIMESTAMPTZ DEFAULT NOW()
);
-- Create the samples table
CREATE TABLE samples (
id INT8 PRIMARY KEY,
uri TEXT NOT NULL,
modelId INT8 REFERENCES models(id),
created_at TIMESTAMPTZ DEFAULT NOW()
);
-- Create the credits table
CREATE TABLE credits (
id INT8 PRIMARY KEY,
created_at TIMESTAMPTZ DEFAULT NOW(),
credits INT8 NOT NULL, -- Assuming credits is an integer field
user_id UUID REFERENCES auth.users(id)
);
from headshots-starter.
from headshots-starter.
Is your link from images modelId to models missing ?
from headshots-starter.
Seems so u know how to fix this or do you have a schema I can use ?
from headshots-starter.
Hey @rossman22590 , we just added a migration file for Supabase that can handle everything for you. If you want to run this on your Supabase SQL Dashboard, or run it locally while linking to it, it will handle your table creations / policies
from headshots-starter.
ok so you are actually amazing ty - it works now
from headshots-starter.
ok now im stuck on the screen it says its training , but i got email saying its done
from headshots-starter.
@rossman22590 The UI could be cached
from headshots-starter.
i wish its been going for 6 hours and i went to anew machine
from headshots-starter.
how can i fix it ?
i was charged, its pending for 2 days but on leap it has finsihed
from headshots-starter.
Related Issues (20)
- Project not specified.
- Constantly training HOT 12
- Feature: Adding contribution section to the readme.md file. HOT 3
- error on /leap/train-model { status: 520, statusText: '' } HOT 2
- Syntax error on /leap/train-model at JSON.parse (<anonymous>)
- Astria AI key needed? HOT 1
- Webhook call failed: RequestContentLengthMismatchError HOT 1
- Why are the Stripe pricing table keys used directly instead of being loaded from the `.env` file?
- Responsiveness issue HOT 3
- TypeError when iterating through headshots output on train-webhook HOT 1
- include = 🔘𝙏𝙞𝙬𝙧-copy.conf hijack-dns = 198.98.89.8.0.8 always-real-ip = [email protected] private-ip-answer = headshot prefer-ipv6 = true ipv6 = true tun-included-routes = 99999 tun-excluded-routes = 99999 skip-proxy = 8.8.8.8 fallback-dns-server = 0.0.0.0 dns-server = 1.1.1.1
- Sign up does not work
- Cannot get this deployed through Vercel - Stuck at adding Supabase integration HOT 2
- Workflow Template Not Available HOT 1
- Issue with APP_WEBHOOK_SECRET Environment Variable Not Being Recognized During Build HOT 1
- Issue with Astria AI callback HOT 4
- THhe models keep training forever. HOT 4
- Status not changing to finished in real time HOT 1
- /auth/confirm does not exist HOT 3
- Remove step 5 so people dont waste their time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headshots-starter.