John6666 commited on
Commit
d86313e
1 Parent(s): 09e5713

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,7 +107,7 @@ border-bottom-color: #ffffff !important; border-left-color: #000000 !important;}
107
  .gr-button:hover {filter: brightness(130%);}
108
  """
109
 
110
- with gr.Blocks(fill_width=True, css=css) as myface:
111
  gr.HTML(f"""
112
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
113
  <div>
@@ -183,7 +183,7 @@ with gr.Blocks(fill_width=True, css=css) as myface:
183
  with gr.Column(scale=100):
184
  with gr.Group():
185
  magic1 = gr.Textbox(label="Your Prompt", lines=4, elem_classes=["gr-box", "gr-input"]) #Positive
186
- with gr.Accordion("Advanced", open=False, visible=True, elem_classes="gr-box"):
187
  neg_input = gr.Textbox(label='Negative prompt', lines=1, elem_classes=["gr-box", "gr-input"])
188
  with gr.Row():
189
  width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0, elem_classes=["gr-box", "gr-input"])
 
107
  .gr-button:hover {filter: brightness(130%);}
108
  """
109
 
110
+ with gr.Blocks(theme='John6666/Yntec_Theme', fill_width=True, css=css) as myface:
111
  gr.HTML(f"""
112
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
113
  <div>
 
183
  with gr.Column(scale=100):
184
  with gr.Group():
185
  magic1 = gr.Textbox(label="Your Prompt", lines=4, elem_classes=["gr-box", "gr-input"]) #Positive
186
+ with gr.Accordion("Advanced", open=False, visible=True):
187
  neg_input = gr.Textbox(label='Negative prompt', lines=1, elem_classes=["gr-box", "gr-input"])
188
  with gr.Row():
189
  width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0, elem_classes=["gr-box", "gr-input"])