Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,35 +77,8 @@ with gr.Blocks(css=css) as myface:
|
|
| 77 |
with gr.Column(scale=100):
|
| 78 |
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
| 79 |
gr.HTML("""<style> .gr-button {
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
margin-bottom:15px;
|
| 83 |
-
text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
|
| 84 |
-
box-sizing:border-box;
|
| 85 |
-
font-size:2em;
|
| 86 |
-
font-family: Helvetica, Arial, Sans-Serif;
|
| 87 |
-
text-decoration:none;
|
| 88 |
-
font-weight:bold;
|
| 89 |
-
color:$text-color;
|
| 90 |
-
&:visited {
|
| 91 |
-
color:$text-color;
|
| 92 |
-
}
|
| 93 |
-
height:$height+px;
|
| 94 |
-
line-height:$height+px;
|
| 95 |
-
padding: 0 (($height/2)+px);
|
| 96 |
-
display:inline-block;
|
| 97 |
-
width:auto;
|
| 98 |
-
background: linear-gradient(to bottom,
|
| 99 |
-
saturate(lighten($color,15%),35%) 0%,
|
| 100 |
-
saturate(lighten($color,12%),15%) 26%,
|
| 101 |
-
$color 100%);
|
| 102 |
-
border-radius:5px;
|
| 103 |
-
border-top:1px solid lighten($color,22%);
|
| 104 |
-
border-bottom:1px solid lighten($color,20%);
|
| 105 |
-
top:0;
|
| 106 |
-
transition:all ($button-speed + s) $timing-function;
|
| 107 |
-
position:relative;
|
| 108 |
-
}</style>""")
|
| 109 |
run=gr.Button("Generate Image")
|
| 110 |
with gr.Row():
|
| 111 |
with gr.Column(style="width=800px"):
|
|
|
|
| 77 |
with gr.Column(scale=100):
|
| 78 |
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
| 79 |
gr.HTML("""<style> .gr-button {
|
| 80 |
+
border-radius: 66%;
|
| 81 |
+
}</style>""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
run=gr.Button("Generate Image")
|
| 83 |
with gr.Row():
|
| 84 |
with gr.Column(style="width=800px"):
|