Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,30 +77,37 @@ 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 |
-
|
83 |
-
border-
|
84 |
-
border-
|
85 |
-
box-shadow: rgba(
|
86 |
box-sizing: border-box;
|
87 |
-
color: #
|
88 |
cursor: pointer;
|
89 |
-
display: inline-
|
90 |
-
|
|
|
91 |
font-size: 14px;
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
97 |
text-align: center;
|
98 |
-
text-
|
99 |
-
|
100 |
user-select: none;
|
101 |
-webkit-user-select: none;
|
102 |
touch-action: manipulation;
|
103 |
-
|
|
|
|
|
104 |
}</style>""")
|
105 |
run=gr.Button("Generate Image")
|
106 |
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 |
+
align-items: center;
|
81 |
+
appearance: none;
|
82 |
+
background-color: #fff;
|
83 |
+
border-radius: 24px;
|
84 |
+
border-style: none;
|
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;
|
86 |
box-sizing: border-box;
|
87 |
+
color: #3c4043;
|
88 |
cursor: pointer;
|
89 |
+
display: inline-flex;
|
90 |
+
fill: currentcolor;
|
91 |
+
font-family: "Google Sans",Roboto,Arial,sans-serif;
|
92 |
font-size: 14px;
|
93 |
+
font-weight: 500;
|
94 |
+
height: 48px;
|
95 |
+
justify-content: center;
|
96 |
+
letter-spacing: .25px;
|
97 |
+
line-height: normal;
|
98 |
+
max-width: 100%;
|
99 |
+
overflow: visible;
|
100 |
+
padding: 2px 24px;
|
101 |
+
position: relative;
|
102 |
text-align: center;
|
103 |
+
text-transform: none;
|
104 |
+
transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
|
105 |
user-select: none;
|
106 |
-webkit-user-select: none;
|
107 |
touch-action: manipulation;
|
108 |
+
width: auto;
|
109 |
+
will-change: transform,opacity;
|
110 |
+
z-index: 0;
|
111 |
}</style>""")
|
112 |
run=gr.Button("Generate Image")
|
113 |
with gr.Row():
|