Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
•
7b92dc3
1
Parent(s):
e0fb504
try to deploy
Browse files- {src/app → app}/api/check-hair-color/pipeline.ts +0 -0
- {src/app → app}/api/check-hair-color/route.ts +0 -0
- {src/app → app}/layout.tsx +2 -2
- {src/app → app}/page.tsx +1 -1
- {src/assets → assets}/globals.css +0 -0
- {src/assets → assets}/hf-logo.svg +0 -0
- {src/assets → assets}/hfsad.svg +0 -0
- {src/components → components}/form/hook.ts +0 -0
- {src/components → components}/form/index.tsx +0 -0
- {src/components → components}/form/results.tsx +1 -1
- {src/components → components}/header.tsx +1 -1
- tailwind.config.ts +2 -2
- tsconfig.json +1 -1
{src/app → app}/api/check-hair-color/pipeline.ts
RENAMED
File without changes
|
{src/app → app}/api/check-hair-color/route.ts
RENAMED
File without changes
|
{src/app → app}/layout.tsx
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
import type { Metadata } from "next";
|
2 |
import { Inter } from "next/font/google";
|
3 |
-
import "@/
|
4 |
-
import { Header } from "@/
|
5 |
|
6 |
const inter = Inter({ subsets: ["latin"] });
|
7 |
|
|
|
1 |
import type { Metadata } from "next";
|
2 |
import { Inter } from "next/font/google";
|
3 |
+
import "@/assets/globals.css";
|
4 |
+
import { Header } from "@/components/header";
|
5 |
|
6 |
const inter = Inter({ subsets: ["latin"] });
|
7 |
|
{src/app → app}/page.tsx
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import { FormUpload } from "@/
|
2 |
|
3 |
export default function Home() {
|
4 |
return (
|
|
|
1 |
+
import { FormUpload } from "@/components/form";
|
2 |
|
3 |
export default function Home() {
|
4 |
return (
|
{src/assets → assets}/globals.css
RENAMED
File without changes
|
{src/assets → assets}/hf-logo.svg
RENAMED
File without changes
|
{src/assets → assets}/hfsad.svg
RENAMED
File without changes
|
{src/components → components}/form/hook.ts
RENAMED
File without changes
|
{src/components → components}/form/index.tsx
RENAMED
File without changes
|
{src/components → components}/form/results.tsx
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
import Image from "next/image";
|
2 |
|
3 |
-
import HFSad from "@/
|
4 |
interface ResultsInterface {
|
5 |
label: string;
|
6 |
score: number;
|
|
|
1 |
import Image from "next/image";
|
2 |
|
3 |
+
import HFSad from "@/assets/hfsad.svg";
|
4 |
interface ResultsInterface {
|
5 |
label: string;
|
6 |
score: number;
|
{src/components → components}/header.tsx
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
import Image from "next/image";
|
2 |
|
3 |
-
import HuggingFaceLogo from "@/
|
4 |
|
5 |
export const Header = () => {
|
6 |
return (
|
|
|
1 |
import Image from "next/image";
|
2 |
|
3 |
+
import HuggingFaceLogo from "@/assets/hf-logo.svg";
|
4 |
|
5 |
export const Header = () => {
|
6 |
return (
|
tailwind.config.ts
CHANGED
@@ -3,8 +3,8 @@ import type { Config } from 'tailwindcss'
|
|
3 |
const config: Config = {
|
4 |
content: [
|
5 |
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
|
6 |
-
'./
|
7 |
-
'./
|
8 |
],
|
9 |
theme: {
|
10 |
extend: {
|
|
|
3 |
const config: Config = {
|
4 |
content: [
|
5 |
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
|
6 |
+
'./components/**/*.{js,ts,jsx,tsx,mdx}',
|
7 |
+
'./app/**/*.{js,ts,jsx,tsx,mdx}',
|
8 |
],
|
9 |
theme: {
|
10 |
extend: {
|
tsconfig.json
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
"**/*.tsx",
|
35 |
".next/types/**/*.ts",
|
36 |
"out/types/**/*.ts"
|
37 |
-
, "utils/classification-pipeline.js", "
|
38 |
"exclude": [
|
39 |
"node_modules"
|
40 |
]
|
|
|
34 |
"**/*.tsx",
|
35 |
".next/types/**/*.ts",
|
36 |
"out/types/**/*.ts"
|
37 |
+
, "utils/classification-pipeline.js", "app/api/check-hair-color/pipeline.ts" ],
|
38 |
"exclude": [
|
39 |
"node_modules"
|
40 |
]
|