Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,24 +43,15 @@ def infer(prompt,
|
|
| 43 |
).images[0]
|
| 44 |
|
| 45 |
return image, seed
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
gr.HTML(
|
| 56 |
-
"""
|
| 57 |
-
<h3 style='text-align: center'>
|
| 58 |
-
Follow me for more!
|
| 59 |
-
<a href='https://twitter.com/kadirnar_ai' target='_blank'>Twitter</a> | <a href='https://github.com/kadirnar' target='_blank'>Github</a> | <a href='https://www.linkedin.com/in/kadir-nar/' target='_blank'>Linkedin</a> | <a href='https://www.huggingface.co/kadirnar/' target='_blank'>HuggingFace</a>
|
| 60 |
-
</h3>
|
| 61 |
-
"""
|
| 62 |
-
)
|
| 63 |
-
|
| 64 |
with gr.Row():
|
| 65 |
with gr.Column(scale=1):
|
| 66 |
prompt = gr.Text(label="Prompt", placeholder="Enter your prompt")
|
|
|
|
| 43 |
).images[0]
|
| 44 |
|
| 45 |
return image, seed
|
| 46 |
+
|
| 47 |
+
css = """
|
| 48 |
+
footer {
|
| 49 |
+
visibility: hidden;
|
| 50 |
+
}
|
| 51 |
+
"""
|
| 52 |
+
|
| 53 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
| 54 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
with gr.Row():
|
| 56 |
with gr.Column(scale=1):
|
| 57 |
prompt = gr.Text(label="Prompt", placeholder="Enter your prompt")
|