Spaces:
Running on Zero
Running on Zero
Deploy provenance-first OpenComic-Continue research UI
Browse files
app.py
CHANGED
|
@@ -157,7 +157,8 @@ def record_preference(choice: str, notes: str) -> str:
|
|
| 157 |
with gr.Blocks(title="OpenComic-Continue") as demo:
|
| 158 |
gr.Markdown(
|
| 159 |
"# OpenComic-Continue\n"
|
| 160 |
-
"A
|
|
|
|
| 161 |
"Only upload material you own or have permission to transform."
|
| 162 |
)
|
| 163 |
memory_state = gr.State()
|
|
@@ -183,7 +184,12 @@ with gr.Blocks(title="OpenComic-Continue") as demo:
|
|
| 183 |
1, 1, value=1, step=1, label="Quality pages per run", interactive=False
|
| 184 |
)
|
| 185 |
creativity = gr.Slider(0, 1, value=0.5, label="Creativity")
|
| 186 |
-
dialogue = gr.Slider(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 187 |
with gr.Row():
|
| 188 |
style = gr.Slider(0, 1, value=0.8, label="Style fidelity")
|
| 189 |
character = gr.Slider(0, 1, value=0.9, label="Character fidelity")
|
|
@@ -192,6 +198,10 @@ with gr.Blocks(title="OpenComic-Continue") as demo:
|
|
| 192 |
)
|
| 193 |
research_mode = gr.Checkbox(label="Research mode (show routing and model metadata)")
|
| 194 |
generate_button = gr.Button("Generate continuation", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
gallery = gr.Gallery(label="Continuation pages", columns=2, object_fit="contain")
|
| 196 |
scripts = gr.JSON(label="Structured scripts")
|
| 197 |
updated_memory = gr.JSON(label="Updated StoryMemory")
|
|
|
|
| 157 |
with gr.Blocks(title="OpenComic-Continue") as demo:
|
| 158 |
gr.Markdown(
|
| 159 |
"# OpenComic-Continue\n"
|
| 160 |
+
"A story-first research prototype: understand the comic, lock a brief continuation "
|
| 161 |
+
"story, storyboard four causal boxes, then render each box from the previous image. "
|
| 162 |
"Only upload material you own or have permission to transform."
|
| 163 |
)
|
| 164 |
memory_state = gr.State()
|
|
|
|
| 184 |
1, 1, value=1, step=1, label="Quality pages per run", interactive=False
|
| 185 |
)
|
| 186 |
creativity = gr.Slider(0, 1, value=0.5, label="Creativity")
|
| 187 |
+
dialogue = gr.Slider(
|
| 188 |
+
0,
|
| 189 |
+
1,
|
| 190 |
+
value=0.0,
|
| 191 |
+
label="Dialogue density (0 recommended unless source dialogue was extracted)",
|
| 192 |
+
)
|
| 193 |
with gr.Row():
|
| 194 |
style = gr.Slider(0, 1, value=0.8, label="Style fidelity")
|
| 195 |
character = gr.Slider(0, 1, value=0.9, label="Character fidelity")
|
|
|
|
| 198 |
)
|
| 199 |
research_mode = gr.Checkbox(label="Research mode (show routing and model metadata)")
|
| 200 |
generate_button = gr.Button("Generate continuation", variant="primary")
|
| 201 |
+
gr.Markdown(
|
| 202 |
+
"Generation runs in two bounded backend stages: a locked story + storyboard, then "
|
| 203 |
+
"sequential panel rendering with per-panel visual checks."
|
| 204 |
+
)
|
| 205 |
gallery = gr.Gallery(label="Continuation pages", columns=2, object_fit="contain")
|
| 206 |
scripts = gr.JSON(label="Structured scripts")
|
| 207 |
updated_memory = gr.JSON(label="Updated StoryMemory")
|