Update app.py
Browse files
app.py
CHANGED
@@ -55,20 +55,20 @@ def predict(prompt, seed=42, randomize_seed=False, guidance_scale=5.0, num_infer
|
|
55 |
|
56 |
demo = gr.Interface(fn=predict, inputs="text", outputs="image")
|
57 |
|
58 |
-
css="""
|
59 |
-
|
60 |
-
|
61 |
-
max-width: 520px;
|
62 |
}
|
63 |
-
#stills{max-height:160px}
|
64 |
"""
|
|
|
|
|
65 |
examples = [
|
66 |
"a cat waving its paws in the air",
|
67 |
"a panda moving their hips from side to side",
|
68 |
"a flower going through the process of blooming"
|
69 |
]
|
70 |
|
71 |
-
with gr.Blocks(css=css) as demo:
|
72 |
with gr.Column(elem_id="col-container"):
|
73 |
|
74 |
with gr.Row():
|
|
|
55 |
|
56 |
demo = gr.Interface(fn=predict, inputs="text", outputs="image")
|
57 |
|
58 |
+
css = """
|
59 |
+
footer {
|
60 |
+
visibility: hidden;
|
|
|
61 |
}
|
|
|
62 |
"""
|
63 |
+
|
64 |
+
|
65 |
examples = [
|
66 |
"a cat waving its paws in the air",
|
67 |
"a panda moving their hips from side to side",
|
68 |
"a flower going through the process of blooming"
|
69 |
]
|
70 |
|
71 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
72 |
with gr.Column(elem_id="col-container"):
|
73 |
|
74 |
with gr.Row():
|