allenpark commited on
Commit
c65270b
·
1 Parent(s): 6cef0a4

fix: try id styling

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -97,6 +97,10 @@ EXAMPLES_HEADER = """
97
  """
98
 
99
  css = """
 
 
 
 
100
  .example-button {
101
  width: fit-content;
102
  font-size: 1rem;
@@ -173,7 +177,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
173
  with gr.Row(equal_height=True):
174
  with gr.Column(scale=1):
175
  gr.Markdown("<div style='color: #fff !important; font-weight: 600'>Your Inputs</div>")
176
- model_output = gr.Textbox(label="MODEL OUTPUT (required)")
177
  user_input = gr.Textbox(label="USER INPUT (required)")
178
  gold_answer = gr.Textbox(label="GOLD ANSWER")
179
  retrieved_context = gr.Textbox(label="RETRIEVED CONTEXT")
 
97
  """
98
 
99
  css = """
100
+ #test textarea {
101
+ background-color: #fff !important;
102
+ color: #000 !important;
103
+ }
104
  .example-button {
105
  width: fit-content;
106
  font-size: 1rem;
 
177
  with gr.Row(equal_height=True):
178
  with gr.Column(scale=1):
179
  gr.Markdown("<div style='color: #fff !important; font-weight: 600'>Your Inputs</div>")
180
+ model_output = gr.Textbox(label="MODEL OUTPUT (required)", elem_id="test")
181
  user_input = gr.Textbox(label="USER INPUT (required)")
182
  gold_answer = gr.Textbox(label="GOLD ANSWER")
183
  retrieved_context = gr.Textbox(label="RETRIEVED CONTEXT")