Zaiiida commited on
Commit
cf1f355
·
verified ·
1 Parent(s): 883fdf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -76,10 +76,19 @@ footer {
76
  padding: 0;
77
  overflow: hidden;
78
  }
 
 
 
 
79
 
80
  /* Import Google Fonts */
81
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@500;700&display=swap');
82
 
 
 
 
 
 
83
  /* Apply fonts to different elements */
84
  body, input, button, textarea, select, .gr-button {
85
  font-family: 'Roboto', sans-serif;
@@ -91,7 +100,7 @@ h1, h2, h3, h4, h5, h6 {
91
 
92
  with gr.Blocks(theme=CustomTheme(), css=css) as demo:
93
  with gr.Column(elem_id="col-container"):
94
- gr.Markdown("Prompt")
95
 
96
  with gr.Row():
97
  prompt = gr.Text(
@@ -102,7 +111,8 @@ with gr.Blocks(theme=CustomTheme(), css=css) as demo:
102
  container=False,
103
  )
104
 
105
- run_button = gr.Button("Generate", scale=0, variant="primary")
 
106
 
107
  result = gr.Image(label="Result", show_label=False)
108
 
 
76
  padding: 0;
77
  overflow: hidden;
78
  }
79
+ /* Target only the Generate button */
80
+ #generate-button, #generate-button .gr-button {
81
+ font-weight: normal !important;
82
+ }
83
 
84
  /* Import Google Fonts */
85
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@500;700&display=swap');
86
 
87
+ /* Target only the Prompt text */
88
+ #prompt-text {
89
+ font-weight: bold;
90
+ }
91
+
92
  /* Apply fonts to different elements */
93
  body, input, button, textarea, select, .gr-button {
94
  font-family: 'Roboto', sans-serif;
 
100
 
101
  with gr.Blocks(theme=CustomTheme(), css=css) as demo:
102
  with gr.Column(elem_id="col-container"):
103
+ gr.Markdown("**Prompt**", elem_id="prompt-text")
104
 
105
  with gr.Row():
106
  prompt = gr.Text(
 
111
  container=False,
112
  )
113
 
114
+ run_button = gr.Button("Generate", scale=0, variant="primary", elem_id="generate-button")
115
+
116
 
117
  result = gr.Image(label="Result", show_label=False)
118