Spaces:
Runtime error
Runtime error
Commit
·
35b7220
1
Parent(s):
39c6d42
Create app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
#@title Text2Art Gradio UI
|
2 |
-
!pip install gradio==2.3.7
|
3 |
import gradio as gr
|
4 |
import torch
|
5 |
import pixray
|
@@ -32,4 +30,4 @@ aspect = gr.inputs.Radio(choices=['square', 'widescreen','portrait'], label="Siz
|
|
32 |
|
33 |
# Launch the demo
|
34 |
iface = gr.Interface(generate, inputs=[prompt, quality, style, aspect], outputs=['image', 'video'], enable_queue=True, live=False)
|
35 |
-
iface.launch(debug=
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
import pixray
|
|
|
30 |
|
31 |
# Launch the demo
|
32 |
iface = gr.Interface(generate, inputs=[prompt, quality, style, aspect], outputs=['image', 'video'], enable_queue=True, live=False)
|
33 |
+
iface.launch(debug=True)
|