Yntec commited on
Commit
e933ded
1 Parent(s): 1426aeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -17
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
- background-image: linear-gradient(#f7f8fa ,#e7e9ec);
81
- border-color: #adb1b8 #a2a6ac #8d9096;
82
- border-style: solid;
83
- border-width: 1px;
84
- border-radius: 3px;
85
- box-shadow: rgba(255,255,255,.6) 0 1px 0 inset;
86
  box-sizing: border-box;
87
- color: #0f1111;
88
  cursor: pointer;
89
- display: inline-block;
90
- font-family: "Amazon Ember",Arial,sans-serif;
 
91
  font-size: 14px;
92
- height: 29px;
93
- font-size: 13px;
94
- outline: 0;
95
- overflow: hidden;
96
- padding: 0 11px;
 
 
 
 
97
  text-align: center;
98
- text-decoration: none;
99
- text-overflow: ellipsis;
100
  user-select: none;
101
  -webkit-user-select: none;
102
  touch-action: manipulation;
103
- white-space: nowrap;
 
 
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():