Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,15 +54,29 @@ ad_code2 = """
|
|
| 54 |
|
| 55 |
# Define the Gradio interface
|
| 56 |
|
| 57 |
-
gr.
|
| 58 |
|
| 59 |
-
iface
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
outputs=gr.Image(label="Generated Logo"),
|
| 63 |
examples=examples
|
| 64 |
)
|
| 65 |
|
| 66 |
-
gr.HTML(ad_code2)
|
| 67 |
|
| 68 |
iface.launch()
|
|
|
|
| 54 |
|
| 55 |
# Define the Gradio interface
|
| 56 |
|
| 57 |
+
iface = gr.Blocks()
|
| 58 |
|
| 59 |
+
with iface:
|
| 60 |
+
gr.Markdown("""
|
| 61 |
+
# AI Logo Maker
|
| 62 |
+
Generate free AI images with your face or any face.<br>
|
| 63 |
+
[Click here to Donate](https://nowpayments.io/donation/aheed)<br>
|
| 64 |
+
Contact me for bulk processing and more AI software at +92-332-4399819<br>
|
| 65 |
+
<b>Duplicate this space if you get error.</b>
|
| 66 |
+
""")
|
| 67 |
+
|
| 68 |
+
gr.HTML(ad_code2)
|
| 69 |
+
|
| 70 |
+
gr.Interface(
|
| 71 |
+
fn=generate_logo,
|
| 72 |
+
inputs=[
|
| 73 |
+
gr.Textbox(label="Describe your logo idea"),
|
| 74 |
+
|
| 75 |
+
]
|
| 76 |
outputs=gr.Image(label="Generated Logo"),
|
| 77 |
examples=examples
|
| 78 |
)
|
| 79 |
|
| 80 |
+
gr.HTML(ad_code2)
|
| 81 |
|
| 82 |
iface.launch()
|