Spaces:
Running
Running
Commit
·
5ce66fb
1
Parent(s):
a7575a1
fix: latest round of design feedback
Browse filesSigned-off-by: Graham White <[email protected]>
- src/app.css +1 -0
- src/app.py +1 -4
src/app.css
CHANGED
@@ -16,6 +16,7 @@ textarea, .wrapper > label {
|
|
16 |
/* Limit the overall width of the demo */
|
17 |
.gradio-container {
|
18 |
max-width: 1024px !important;
|
|
|
19 |
}
|
20 |
/* Theme anchor links with Carbon coloring */
|
21 |
.gr_docs_link a, .gr_docs_link a > i {
|
|
|
16 |
/* Limit the overall width of the demo */
|
17 |
.gradio-container {
|
18 |
max-width: 1024px !important;
|
19 |
+
margin: 5vh auto !important;
|
20 |
}
|
21 |
/* Theme anchor links with Carbon coloring */
|
22 |
.gr_docs_link a, .gr_docs_link a > i {
|
src/app.py
CHANGED
@@ -125,10 +125,7 @@ max_new_tokens_slider = gr.Slider(
|
|
125 |
chat_interface_accordion = gr.Accordion(label="Advanced Settings", open=False)
|
126 |
|
127 |
with gr.Blocks(fill_height=True, css_paths=css_file_path, head_paths=head_file_path, theme=theme, title=TITLE) as demo:
|
128 |
-
gr.HTML(
|
129 |
-
f"<img src='https://www.ibm.com/granite/docs/images/granite-pictogram.svg'/><h1>{TITLE}</h1>",
|
130 |
-
elem_classes=["gr_title"],
|
131 |
-
)
|
132 |
gr.HTML(DESCRIPTION)
|
133 |
chat_interface = gr.ChatInterface(
|
134 |
fn=generate,
|
|
|
125 |
chat_interface_accordion = gr.Accordion(label="Advanced Settings", open=False)
|
126 |
|
127 |
with gr.Blocks(fill_height=True, css_paths=css_file_path, head_paths=head_file_path, theme=theme, title=TITLE) as demo:
|
128 |
+
gr.HTML(f"<h1>{TITLE}</h1>", elem_classes=["gr_title"])
|
|
|
|
|
|
|
129 |
gr.HTML(DESCRIPTION)
|
130 |
chat_interface = gr.ChatInterface(
|
131 |
fn=generate,
|