Spaces:
Running
on
Zero
Running
on
Zero
added video gen (Instant Video) and SDXL flash
Browse files
app.py
CHANGED
@@ -516,7 +516,7 @@ with gr.Blocks() as voice:
|
|
516 |
inputs=[input],
|
517 |
outputs=[output], live=True)
|
518 |
|
519 |
-
with gr.Blocks() as
|
520 |
gr.Interface(
|
521 |
fn=videochat,
|
522 |
inputs=[gr.Image(type="pil",sources="webcam", label="Upload Image"), gr.Textbox(label="Prompt", value="what he is doing")],
|
@@ -524,18 +524,28 @@ with gr.Blocks() as video:
|
|
524 |
)
|
525 |
|
526 |
with gr.Blocks() as god:
|
527 |
-
gr.HTML("<iframe src='https://
|
528 |
|
529 |
with gr.Blocks() as instant:
|
530 |
gr.HTML("<iframe src='https://kingnish-instant-image.hf.space' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
|
531 |
|
532 |
with gr.Blocks() as image:
|
533 |
-
gr.Markdown("""### More
|
534 |
-
gr.TabbedInterface([ god, instant], ['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
|
536 |
with gr.Blocks(theme=theme, title="OpenGPT 4o DEMO") as demo:
|
537 |
gr.Markdown("# OpenGPT 4o")
|
538 |
-
gr.TabbedInterface([chat, voice,
|
539 |
|
540 |
demo.queue(max_size=300)
|
541 |
demo.launch()
|
|
|
516 |
inputs=[input],
|
517 |
outputs=[output], live=True)
|
518 |
|
519 |
+
with gr.Blocks() as livechat:
|
520 |
gr.Interface(
|
521 |
fn=videochat,
|
522 |
inputs=[gr.Image(type="pil",sources="webcam", label="Upload Image"), gr.Textbox(label="Prompt", value="what he is doing")],
|
|
|
524 |
)
|
525 |
|
526 |
with gr.Blocks() as god:
|
527 |
+
gr.HTML("<iframe src='https://kingnish-sdxl-flash.hf.space' width='100%' height='1200px' style='border-radius: 8px;'></iframe>")
|
528 |
|
529 |
with gr.Blocks() as instant:
|
530 |
gr.HTML("<iframe src='https://kingnish-instant-image.hf.space' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
|
531 |
|
532 |
with gr.Blocks() as image:
|
533 |
+
gr.Markdown("""### More models are coming""")
|
534 |
+
gr.TabbedInterface([ god, instant], ['Powerful🖼️','Instant🖼️'])
|
535 |
+
|
536 |
+
|
537 |
+
|
538 |
+
|
539 |
+
with gr.Blocks() as instant2:
|
540 |
+
gr.HTML("<iframe src='https://kingnish-instant-video.hf.space' width='100%' height='2000px' style='border-radius: 8px;'></iframe>")
|
541 |
+
|
542 |
+
with gr.Blocks() as video:
|
543 |
+
gr.Markdown("""More Models are coming""")
|
544 |
+
gr.TabbedInterface([ instant2], ['Instant🎥'])
|
545 |
|
546 |
with gr.Blocks(theme=theme, title="OpenGPT 4o DEMO") as demo:
|
547 |
gr.Markdown("# OpenGPT 4o")
|
548 |
+
gr.TabbedInterface([chat, voice, livechat, image, video], ['💬 SuperChat','🗣️ Voice Chat','📸 Live Chat', '🖼️ Image Engine', '🎥 Video Engine'])
|
549 |
|
550 |
demo.queue(max_size=300)
|
551 |
demo.launch()
|