Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove deprecated colors
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ custom_css = """
|
|
135 |
""".replace("<<WIDTH>>", str(WIDTH+15)).replace("<<HEIGHT>>", str(HEIGHT+10))
|
136 |
|
137 |
footer_html="""
|
138 |
-
<h3 style="text-align: center; margin-top:
|
139 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
140 |
<div class="logo-container">
|
141 |
<a class="logo-item" href="https://github.com/huggingface/smolagents"><i class="fa fa-github"></i>smolagents</a>
|
@@ -552,8 +552,7 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js, fill_width=True) as de
|
|
552 |
#Storing session hash in a state variable
|
553 |
session_hash_state = gr.State(None)
|
554 |
|
555 |
-
gr.HTML("""<h1 style="color:var(--color-accent);">Computer Agent - Input your task and run your personal assistant!<h1>
|
556 |
-
<h5>Input your task in the left sidebar to see our agent get to work.</h5>""")
|
557 |
|
558 |
with gr.Row():
|
559 |
sandbox_html = gr.HTML(
|
@@ -603,18 +602,9 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js, fill_width=True) as de
|
|
603 |
if not minimalist_mode:
|
604 |
return """
|
605 |
<style>
|
606 |
-
:root {
|
607 |
-
--body-background-fill: black!important;
|
608 |
-
--body-text-color: #f59e0b!important;
|
609 |
-
--block-text-color: #f59e0b!important;
|
610 |
-
--color-accent: #00b8ff!important;
|
611 |
-
}
|
612 |
.sandbox-frame {
|
613 |
display: block!important;
|
614 |
}
|
615 |
-
.body {
|
616 |
-
color: #00b8ff!important;
|
617 |
-
}
|
618 |
|
619 |
.sandbox-iframe, .bsod-image {
|
620 |
/* top: 73px; */
|
|
|
135 |
""".replace("<<WIDTH>>", str(WIDTH+15)).replace("<<HEIGHT>>", str(HEIGHT+10))
|
136 |
|
137 |
footer_html="""
|
138 |
+
<h3 style="text-align: center; margin-top:50px;"><i>Powered by open source:</i></h2>
|
139 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
140 |
<div class="logo-container">
|
141 |
<a class="logo-item" href="https://github.com/huggingface/smolagents"><i class="fa fa-github"></i>smolagents</a>
|
|
|
552 |
#Storing session hash in a state variable
|
553 |
session_hash_state = gr.State(None)
|
554 |
|
555 |
+
gr.HTML("""<h1 style="color:var(--color-accent);">Computer Agent - Input your task and run your personal assistant!<h1>""")
|
|
|
556 |
|
557 |
with gr.Row():
|
558 |
sandbox_html = gr.HTML(
|
|
|
602 |
if not minimalist_mode:
|
603 |
return """
|
604 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
605 |
.sandbox-frame {
|
606 |
display: block!important;
|
607 |
}
|
|
|
|
|
|
|
608 |
|
609 |
.sandbox-iframe, .bsod-image {
|
610 |
/* top: 73px; */
|