Spaces:
Running
Running
Deploy c235757 to Docker Space
Browse filesSource: MisonL/gpt-image-playground-customer@c2357572329b70e2e3b953be74f8d0cedafef5f5
public/hf-space-deploy-marker.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"schema_version": 1,
|
| 3 |
-
"local_sha": "
|
| 4 |
-
"created_at": "2026-06-29T10:
|
| 5 |
-
"deploy_id": "
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"schema_version": 1,
|
| 3 |
+
"local_sha": "c2357572329b70e2e3b953be74f8d0cedafef5f5",
|
| 4 |
+
"created_at": "2026-06-29T10:57:33.027Z",
|
| 5 |
+
"deploy_id": "a2febf58-db5e-4d67-a4b0-7968d3d42118"
|
| 6 |
}
|
src/app/api/deploy-marker/route.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import { NextResponse } from 'next/server';
|
| 2 |
|
| 3 |
-
const deployMarker = {"schema_version":1,"local_sha":"
|
| 4 |
|
| 5 |
export const dynamic = 'force-dynamic';
|
| 6 |
|
|
|
|
| 1 |
import { NextResponse } from 'next/server';
|
| 2 |
|
| 3 |
+
const deployMarker = {"schema_version":1,"local_sha":"c2357572329b70e2e3b953be74f8d0cedafef5f5","created_at":"2026-06-29T10:57:33.027Z","deploy_id":"a2febf58-db5e-4d67-a4b0-7968d3d42118"} as const;
|
| 4 |
|
| 5 |
export const dynamic = 'force-dynamic';
|
| 6 |
|
src/app/page.tsx
CHANGED
|
@@ -3238,7 +3238,7 @@ export default function HomePage() {
|
|
| 3238 |
}
|
| 3239 |
|
| 3240 |
return (
|
| 3241 |
-
<main className='studio-paper text-foreground min-h-screen pb-[calc(
|
| 3242 |
<PasswordDialog
|
| 3243 |
isOpen={isPasswordDialogOpen}
|
| 3244 |
onOpenChange={setIsPasswordDialogOpen}
|
|
@@ -3349,7 +3349,7 @@ export default function HomePage() {
|
|
| 3349 |
</div>
|
| 3350 |
</div>
|
| 3351 |
</header>
|
| 3352 |
-
<div className='grid flex-1 grid-cols-1 gap-5 lg:grid-cols-[minmax(340px,390px)_minmax(0,1fr)] xl:min-h-0 xl:grid-cols-[minmax(
|
| 3353 |
<section
|
| 3354 |
id='mobile-creation-sheet'
|
| 3355 |
aria-label={t('app.creationControls')}
|
|
@@ -3674,41 +3674,17 @@ export default function HomePage() {
|
|
| 3674 |
</div>
|
| 3675 |
</div>
|
| 3676 |
{!isMobileCreationDrawerOpen && (
|
| 3677 |
-
<div className='bg-background border-border fixed right-0 bottom-0 left-0 z-40 border-t
|
| 3678 |
-
<
|
| 3679 |
-
|
| 3680 |
-
className='mx-auto mb-2 flex h-11 w-24 touch-none items-center justify-center rounded-full select-none'
|
| 3681 |
onPointerDown={beginMobileCreationDrawerGesture}
|
| 3682 |
onPointerUp={finishMobileCreationDrawerGesture}
|
| 3683 |
onPointerCancel={cancelMobileCreationDrawerGesture}
|
| 3684 |
onClick={handleMobileCreationDrawerHandleClick}
|
| 3685 |
-
aria-
|
| 3686 |
-
aria-controls='mobile-creation-sheet'
|
| 3687 |
-
aria-expanded={false}>
|
| 3688 |
<span className='bg-border h-1 w-10 rounded-full' aria-hidden='true' />
|
| 3689 |
-
</button>
|
| 3690 |
-
<div className='mx-auto max-w-screen-sm space-y-2'>
|
| 3691 |
-
<div className='flex flex-wrap items-center justify-center gap-1.5 text-[11px]'>
|
| 3692 |
-
<span className='border-border bg-card/80 text-muted-foreground rounded-full border px-2 py-1'>
|
| 3693 |
-
{activeWorkbenchModel}
|
| 3694 |
-
</span>
|
| 3695 |
-
<span className='border-border bg-card/80 text-muted-foreground rounded-full border px-2 py-1'>
|
| 3696 |
-
{activeWorkbenchBackendLabel}
|
| 3697 |
-
</span>
|
| 3698 |
-
<span className='border-border bg-card/80 text-muted-foreground rounded-full border px-2 py-1'>
|
| 3699 |
-
{getStreamingStatusLabel(streamMode, t)}
|
| 3700 |
-
</span>
|
| 3701 |
-
{activeParallelBatchVisible && (
|
| 3702 |
-
<span className='rounded-full border border-[oklch(0.72_0.065_142)] bg-[oklch(0.94_0.032_142)] px-2 py-1 text-[oklch(0.38_0.075_148)]'>
|
| 3703 |
-
{t('streaming.parallelBatchEnabled')}
|
| 3704 |
-
</span>
|
| 3705 |
-
)}
|
| 3706 |
-
<span className='border-primary/20 bg-primary/10 text-primary rounded-full border px-2 py-1'>
|
| 3707 |
-
{activeEstimatedCostLabel}
|
| 3708 |
-
</span>
|
| 3709 |
-
</div>
|
| 3710 |
</div>
|
| 3711 |
-
<div className='mx-auto
|
| 3712 |
<Button
|
| 3713 |
type='button'
|
| 3714 |
variant='outline'
|
|
|
|
| 3238 |
}
|
| 3239 |
|
| 3240 |
return (
|
| 3241 |
+
<main className='studio-paper text-foreground min-h-screen pb-[calc(6.5rem+env(safe-area-inset-bottom))] xl:h-dvh xl:overflow-hidden xl:pb-0'>
|
| 3242 |
<PasswordDialog
|
| 3243 |
isOpen={isPasswordDialogOpen}
|
| 3244 |
onOpenChange={setIsPasswordDialogOpen}
|
|
|
|
| 3349 |
</div>
|
| 3350 |
</div>
|
| 3351 |
</header>
|
| 3352 |
+
<div className='grid flex-1 grid-cols-1 gap-5 lg:grid-cols-[minmax(340px,390px)_minmax(0,1fr)] xl:min-h-0 xl:grid-cols-[minmax(300px,340px)_minmax(620px,1fr)_minmax(280px,330px)] 2xl:grid-cols-[minmax(330px,370px)_minmax(760px,1fr)_minmax(330px,380px)]'>
|
| 3353 |
<section
|
| 3354 |
id='mobile-creation-sheet'
|
| 3355 |
aria-label={t('app.creationControls')}
|
|
|
|
| 3674 |
</div>
|
| 3675 |
</div>
|
| 3676 |
{!isMobileCreationDrawerOpen && (
|
| 3677 |
+
<div className='bg-background border-border fixed right-0 bottom-0 left-0 z-40 border-t px-3 pt-2 pb-[calc(0.75rem+env(safe-area-inset-bottom))] shadow-[0_-12px_30px_rgba(73,50,25,0.12)] lg:hidden'>
|
| 3678 |
+
<div
|
| 3679 |
+
className='mx-auto mb-2 flex h-3 w-24 touch-none items-center justify-center rounded-full select-none'
|
|
|
|
| 3680 |
onPointerDown={beginMobileCreationDrawerGesture}
|
| 3681 |
onPointerUp={finishMobileCreationDrawerGesture}
|
| 3682 |
onPointerCancel={cancelMobileCreationDrawerGesture}
|
| 3683 |
onClick={handleMobileCreationDrawerHandleClick}
|
| 3684 |
+
aria-hidden='true'>
|
|
|
|
|
|
|
| 3685 |
<span className='bg-border h-1 w-10 rounded-full' aria-hidden='true' />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3686 |
</div>
|
| 3687 |
+
<div className='mx-auto flex max-w-screen-sm items-stretch gap-2'>
|
| 3688 |
<Button
|
| 3689 |
type='button'
|
| 3690 |
variant='outline'
|
src/components/generation-form.tsx
CHANGED
|
@@ -263,7 +263,7 @@ const RadioItemWithIcon = ({
|
|
| 263 |
id={id}
|
| 264 |
disabled={disabled}
|
| 265 |
aria-label={label}
|
| 266 |
-
className='border-border bg-background/58 text-muted-foreground enabled:hover:border-primary/25 enabled:hover:bg-accent/45 enabled:hover:text-foreground data-[state=checked]:border-primary/55 data-[state=checked]:bg-primary/10 data-[state=checked]:text-primary flex aspect-auto h-auto min-h-11 w-full flex-col items-center justify-center gap-0.5 rounded-md px-1 py-1 text-xs shadow-none transition-[background-color,border-color,color,box-shadow,transform] enabled:active:translate-y-0 enabled:motion-safe:hover:-translate-y-0.5 enabled:motion-safe:hover:scale-100 enabled:motion-safe:active:scale-100 lg:min-h-
|
| 267 |
<Icon className='h-3 w-3 shrink-0 text-current opacity-50 lg:hidden 2xl:block' />
|
| 268 |
<span className='max-w-full min-w-0 truncate text-center leading-4'>{label}</span>
|
| 269 |
</RadioGroupItem>
|
|
|
|
| 263 |
id={id}
|
| 264 |
disabled={disabled}
|
| 265 |
aria-label={label}
|
| 266 |
+
className='border-border bg-background/58 text-muted-foreground enabled:hover:border-primary/25 enabled:hover:bg-accent/45 enabled:hover:text-foreground data-[state=checked]:border-primary/55 data-[state=checked]:bg-primary/10 data-[state=checked]:text-primary flex aspect-auto h-auto min-h-11 w-full flex-col items-center justify-center gap-0.5 rounded-md px-1 py-1 text-xs shadow-none transition-[background-color,border-color,color,box-shadow,transform] enabled:active:translate-y-0 enabled:motion-safe:hover:-translate-y-0.5 enabled:motion-safe:hover:scale-100 enabled:motion-safe:active:scale-100 lg:min-h-8 lg:flex-row lg:px-1 lg:text-[11px] 2xl:px-1.5 2xl:text-xs [&_[data-slot=radio-group-indicator]]:hidden [&_[data-slot=radio-group-item-content]]:gap-1 lg:[&_[data-slot=radio-group-item-content]]:gap-0.5 2xl:[&_[data-slot=radio-group-item-content]]:gap-1'>
|
| 267 |
<Icon className='h-3 w-3 shrink-0 text-current opacity-50 lg:hidden 2xl:block' />
|
| 268 |
<span className='max-w-full min-w-0 truncate text-center leading-4'>{label}</span>
|
| 269 |
</RadioGroupItem>
|