ehristoforu commited on
Commit
22deffa
1 Parent(s): 9561371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -41,6 +41,9 @@ def query(prompt, is_negative=False, steps=7, cfg_scale=7, seed=None, num_images
41
 
42
 
43
  css = """
 
 
 
44
  #gallery {
45
  min-height: 22rem;
46
  margin-bottom: 15px;
@@ -80,8 +83,8 @@ with gr.Blocks(css=css) as demo:
80
  gallery_output = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
81
  with gr.Row(elem_id="prompt-container"):
82
  with gr.Column():
83
- text_prompt = gr.Textbox(show_label=False, placeholder="Enter your prompt", max_lines=1, elem_id="prompt-text-input").style(border=(True, False, True, True), rounded=(True, False, False, True), container=False)
84
- negative_prompt = gr.Textbox(show_label=False, placeholder="Enter a negative", max_lines=1, elem_id="negative-prompt-text-input").style(border=(True, False, True, True), rounded=(True, False, False, True), container=False)
85
  text_button = gr.Button("Generate").style(margin=False, rounded=(False, True, True, False), full_width=False)
86
 
87
 
 
41
 
42
 
43
  css = """
44
+ .gradio-container {
45
+ font-family: 'IBM Plex Sans', sans-serif;
46
+ }
47
  #gallery {
48
  min-height: 22rem;
49
  margin-bottom: 15px;
 
83
  gallery_output = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
84
  with gr.Row(elem_id="prompt-container"):
85
  with gr.Column():
86
+ text_prompt = gr.Textbox(show_label=False, placeholder="Enter your prompt", max_lines=1, elem_id="prompt-text-input")
87
+ negative_prompt = gr.Textbox(show_label=False, placeholder="Enter a negative", max_lines=1, elem_id="negative-prompt-text-input")
88
  text_button = gr.Button("Generate").style(margin=False, rounded=(False, True, True, False), full_width=False)
89
 
90