weepakistan commited on
Commit
658bad7
·
verified ·
1 Parent(s): 462351f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -5
app.py CHANGED
@@ -54,15 +54,29 @@ ad_code2 = """
54
 
55
  # Define the Gradio interface
56
 
57
- gr.HTML(ad_code)
58
 
59
- iface = gr.Interface(
60
- fn=generate_logo,
61
- inputs=gr.Textbox(label="Describe your logo idea"),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()