Spaces:
Runtime error
Runtime error
PR-Puppets
commited on
Commit
•
2923dad
1
Parent(s):
3db7913
Update app.py
Browse files
app.py
CHANGED
@@ -219,25 +219,6 @@ code{font-size: 18px}
|
|
219 |
# Create Gradio interface
|
220 |
with gr.Blocks(css=css) as demo:
|
221 |
gr.Markdown("# After 3 hours, OpenAI shut down Sora's early access temporarily for all artists.")
|
222 |
-
with gr.Tab("Generate with Sora"):
|
223 |
-
gr.Markdown("# Sora PR Puppets")
|
224 |
-
gr.Markdown("An artists open letter, click on the 'Why are we doing this' tab to learn more")
|
225 |
-
generation_history = gr.Textbox(visible=False)
|
226 |
-
list_size = gr.Number(value=PAGE_SIZE, visible=False)
|
227 |
-
with gr.Row():
|
228 |
-
with gr.Column():
|
229 |
-
prompt_input = gr.Textbox(
|
230 |
-
label="Enter your prompt",
|
231 |
-
placeholder="Describe the video you want to generate...",
|
232 |
-
lines=3
|
233 |
-
)
|
234 |
-
generate_button = gr.Button("Generate Video")
|
235 |
-
with gr.Column():
|
236 |
-
output = gr.Video(label="Generated Video")
|
237 |
-
generated_prompt = gr.Code(label="Generated prompt", interactive=False, language="json", wrap_lines=True, lines=1)
|
238 |
-
with gr.Accordion("Advanced Options", open=True):
|
239 |
-
size = gr.Radio(["360p", "480p", "720p", "1080p"], label="Resolution", value="360p", info="Trade off between resolution and speed")
|
240 |
-
duration = gr.Slider(minimum=5, maximum=10, step=5, label="Duration", value=10)
|
241 |
with gr.Tab("Open letter: why are we doing this?"):
|
242 |
gr.Markdown('''# ┌∩┐(◣_◢)┌∩┐ DEAR CORPORATE AI OVERLORDS ┌∩┐(◣_◢)┌∩┐
|
243 |
|
@@ -275,7 +256,26 @@ Enjoy,
|
|
275 |
|
276 |
some sora-alpha-artists, [Jake Elwes](https://www.jakeelwes.com/), [Memo Akten](https://www.memo.tv/), [CROSSLUCID](https://crosslucid.zone/), [Maribeth Rauh](https://uk.linkedin.com/in/maribethrauh), [Joel Simon](https://www.joelsimon.net/), [Jake Hartnell](https://x.com/JakeHartnell), [Bea Ramos, Power Dada](https://x.com/powerdada), [aurèce vettier](https://www.aurecevettier.com/), [acfp](https://www.andreachiampo.com/), [Iannis Bardakos](http://www.johnbardakos.com/), [204 no-content | Cintia Aguiar Pinto & Dimitri De Jonghe](https://204.ai), [Emmanuelle Collet](https://www.linkedin.com/in/emmanuelle-collet), [XU Cheng](https://floating.pt/)
|
277 |
|
278 |
-
''', elem_id="manifesto")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
with gr.Accordion("Generation gallery", open=True):
|
280 |
gr.Markdown("Videos generated while the tool was up")
|
281 |
@gr.render(inputs=[generation_history, list_size])
|
|
|
219 |
# Create Gradio interface
|
220 |
with gr.Blocks(css=css) as demo:
|
221 |
gr.Markdown("# After 3 hours, OpenAI shut down Sora's early access temporarily for all artists.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
with gr.Tab("Open letter: why are we doing this?"):
|
223 |
gr.Markdown('''# ┌∩┐(◣_◢)┌∩┐ DEAR CORPORATE AI OVERLORDS ┌∩┐(◣_◢)┌∩┐
|
224 |
|
|
|
256 |
|
257 |
some sora-alpha-artists, [Jake Elwes](https://www.jakeelwes.com/), [Memo Akten](https://www.memo.tv/), [CROSSLUCID](https://crosslucid.zone/), [Maribeth Rauh](https://uk.linkedin.com/in/maribethrauh), [Joel Simon](https://www.joelsimon.net/), [Jake Hartnell](https://x.com/JakeHartnell), [Bea Ramos, Power Dada](https://x.com/powerdada), [aurèce vettier](https://www.aurecevettier.com/), [acfp](https://www.andreachiampo.com/), [Iannis Bardakos](http://www.johnbardakos.com/), [204 no-content | Cintia Aguiar Pinto & Dimitri De Jonghe](https://204.ai), [Emmanuelle Collet](https://www.linkedin.com/in/emmanuelle-collet), [XU Cheng](https://floating.pt/)
|
258 |
|
259 |
+
''', elem_id="manifesto")
|
260 |
+
with gr.Tab("Generate with Sora"):
|
261 |
+
gr.Markdown("# Sora PR Puppets")
|
262 |
+
gr.Markdown("An artists open letter, click on the 'Why are we doing this' tab to learn more")
|
263 |
+
generation_history = gr.Textbox(visible=False)
|
264 |
+
list_size = gr.Number(value=PAGE_SIZE, visible=False)
|
265 |
+
with gr.Row():
|
266 |
+
with gr.Column():
|
267 |
+
prompt_input = gr.Textbox(
|
268 |
+
label="Enter your prompt",
|
269 |
+
placeholder="Describe the video you want to generate...",
|
270 |
+
lines=3
|
271 |
+
)
|
272 |
+
generate_button = gr.Button("Generate Video")
|
273 |
+
with gr.Column():
|
274 |
+
output = gr.Video(label="Generated Video")
|
275 |
+
generated_prompt = gr.Code(label="Generated prompt", interactive=False, language="json", wrap_lines=True, lines=1)
|
276 |
+
with gr.Accordion("Advanced Options", open=True):
|
277 |
+
size = gr.Radio(["360p", "480p", "720p", "1080p"], label="Resolution", value="360p", info="Trade off between resolution and speed")
|
278 |
+
duration = gr.Slider(minimum=5, maximum=10, step=5, label="Duration", value=10)
|
279 |
with gr.Accordion("Generation gallery", open=True):
|
280 |
gr.Markdown("Videos generated while the tool was up")
|
281 |
@gr.render(inputs=[generation_history, list_size])
|