Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,37 +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 |
-
align-items: center;
|
81 |
-
appearance: none;
|
82 |
-
background-color: #
|
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: #
|
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():
|
|
|
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 !important;
|
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():
|