Spaces:
Running
Running
PR-Puppets
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -219,26 +219,7 @@ 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 |
-
|
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 |
|
244 |
We received access to Sora with the promise to be early testers, red teamers and creative partners. However, we believe instead we are being lured into "art washing" to tell the world that Sora is a useful tool for artists.
|
@@ -276,6 +257,26 @@ Enjoy,
|
|
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 |
|
225 |
We received access to Sora with the promise to be early testers, red teamers and creative partners. However, we believe instead we are being lured into "art washing" to tell the world that Sora is a useful tool for artists.
|
|
|
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 |
+
|
261 |
+
with gr.Tab("Generate with Sora"):
|
262 |
+
gr.Markdown("# Sora PR Puppets")
|
263 |
+
gr.Markdown("An artists open letter, click on the 'Why are we doing this' tab to learn more")
|
264 |
+
generation_history = gr.Textbox(visible=False)
|
265 |
+
list_size = gr.Number(value=PAGE_SIZE, visible=False)
|
266 |
+
with gr.Row():
|
267 |
+
with gr.Column():
|
268 |
+
prompt_input = gr.Textbox(
|
269 |
+
label="Enter your prompt",
|
270 |
+
placeholder="Describe the video you want to generate...",
|
271 |
+
lines=3
|
272 |
+
)
|
273 |
+
generate_button = gr.Button("Generate Video")
|
274 |
+
with gr.Column():
|
275 |
+
output = gr.Video(label="Generated Video")
|
276 |
+
generated_prompt = gr.Code(label="Generated prompt", interactive=False, language="json", wrap_lines=True, lines=1)
|
277 |
+
with gr.Accordion("Advanced Options", open=True):
|
278 |
+
size = gr.Radio(["360p", "480p", "720p", "1080p"], label="Resolution", value="360p", info="Trade off between resolution and speed")
|
279 |
+
duration = gr.Slider(minimum=5, maximum=10, step=5, label="Duration", value=10)
|
280 |
with gr.Accordion("Generation gallery", open=True):
|
281 |
gr.Markdown("Videos generated while the tool was up")
|
282 |
@gr.render(inputs=[generation_history, list_size])
|