Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ with gr.Blocks(css=css) as myface:
|
|
| 52 |
color: #ffffff; !important;
|
| 53 |
}
|
| 54 |
.gradio-container {
|
| 55 |
-
background-image: linear-gradient(#
|
| 56 |
color: #ffaa66 !important;
|
| 57 |
font-family: 'IBM Plex Sans', sans-serif !important;
|
| 58 |
}
|
|
@@ -76,38 +76,40 @@ with gr.Blocks(css=css) as myface:
|
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column(scale=100):
|
| 78 |
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
gr.HTML("""<style> .gr-button {
|
| 80 |
-
|
| 81 |
-
appearance: none !important;
|
| 82 |
-
background-color: #660099 !important;
|
| 83 |
-
border-radius: 24px !important;
|
| 84 |
-
border-style: none !important;
|
| 85 |
-
box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0 !important;
|
| 86 |
-
box-sizing: border-box !important;
|
| 87 |
color: #ffffff !important;
|
| 88 |
-
cursor: pointer !important;
|
| 89 |
-
display: inline-flex !important;
|
| 90 |
-
fill: currentcolor !important;
|
| 91 |
-
font-family: "Google Sans",Roboto,Arial,sans-serif !important;
|
| 92 |
-
font-size: 14px !important;
|
| 93 |
-
font-weight: 500 !important;
|
| 94 |
-
height: 48px !important;
|
| 95 |
-
justify-content: center !important;
|
| 96 |
-
letter-spacing: .25px !important;
|
| 97 |
-
line-height: normal !important;
|
| 98 |
-
max-width: 100% !important;
|
| 99 |
-
overflow: visible !important;
|
| 100 |
-
padding: 2px 24px !important;
|
| 101 |
-
position: relative !important;
|
| 102 |
-
text-align: center !important;
|
| 103 |
-
text-transform: none !important;
|
| 104 |
-
transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms !important;
|
| 105 |
-
user-select: none !important;
|
| 106 |
-
-webkit-user-select: none !important;
|
| 107 |
-
touch-action: manipulation !important;
|
| 108 |
-
width: auto !important;
|
| 109 |
-
will-change: transform,opacity !important;
|
| 110 |
-
z-index: 0 !important;
|
| 111 |
}</style>""")
|
| 112 |
run=gr.Button("Generate Image")
|
| 113 |
with gr.Row():
|
|
|
|
| 52 |
color: #ffffff; !important;
|
| 53 |
}
|
| 54 |
.gradio-container {
|
| 55 |
+
background-image: linear-gradient(#8150df, #000000) !important;
|
| 56 |
color: #ffaa66 !important;
|
| 57 |
font-family: 'IBM Plex Sans', sans-serif !important;
|
| 58 |
}
|
|
|
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column(scale=100):
|
| 78 |
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
| 79 |
+
#align-items: center !important;
|
| 80 |
+
#appearance: none !important;
|
| 81 |
+
|
| 82 |
+
#border-radius: 24px !important;
|
| 83 |
+
#border-style: none !important;
|
| 84 |
+
#box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0 !important;
|
| 85 |
+
#box-sizing: border-box !important;
|
| 86 |
+
|
| 87 |
+
#cursor: pointer !important;
|
| 88 |
+
#display: inline-flex !important;
|
| 89 |
+
#fill: currentcolor !important;
|
| 90 |
+
#font-family: "Google Sans",Roboto,Arial,sans-serif !important;
|
| 91 |
+
#font-size: 14px !important;
|
| 92 |
+
#font-weight: 500 !important;
|
| 93 |
+
#height: 48px !important;
|
| 94 |
+
#justify-content: center !important;
|
| 95 |
+
#letter-spacing: .25px !important;
|
| 96 |
+
#line-height: normal !important;
|
| 97 |
+
#max-width: 100% !important;
|
| 98 |
+
#overflow: visible !important;
|
| 99 |
+
#padding: 2px 24px !important;
|
| 100 |
+
#position: relative !important;
|
| 101 |
+
#text-align: center !important;
|
| 102 |
+
#text-transform: none !important;
|
| 103 |
+
#transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms !important;
|
| 104 |
+
#user-select: none !important;
|
| 105 |
+
#-webkit-user-select: none !important;
|
| 106 |
+
#touch-action: manipulation !important;
|
| 107 |
+
#width: auto !important;
|
| 108 |
+
#will-change: transform,opacity !important;
|
| 109 |
+
#z-index: 0 !important;
|
| 110 |
gr.HTML("""<style> .gr-button {
|
| 111 |
+
background-color: #8150df !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
color: #ffffff !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
}</style>""")
|
| 114 |
run=gr.Button("Generate Image")
|
| 115 |
with gr.Row():
|