Spaces:
Sleeping
Sleeping
attempt 3 of color change
Browse files
app.py
CHANGED
@@ -136,6 +136,11 @@ with gr.Blocks(theme='gstaff/xkcd') as demo:
|
|
136 |
submit_button = gr.Button("Submit")
|
137 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
138 |
|
|
|
|
|
|
|
|
|
|
|
139 |
theme = gr.themes.Default(
|
140 |
primary_hue=gr.themes.Color(c100="#ffedd5", c200="#fed7aa", c300="#ffe09e", c400="#c2814c", c50="#fff8f0", c500="#f97316", c600="#ea580c", c700="#c2410c", c800="#9a3412", c900="#7c2d12", c950="#611f00"),
|
141 |
secondary_hue="red",
|
@@ -202,6 +207,3 @@ theme = gr.themes.Default(
|
|
202 |
|
203 |
with gr.Blocks(theme=theme) as demo:
|
204 |
...
|
205 |
-
|
206 |
-
# Launch the Gradio app to allow user interaction
|
207 |
-
demo.launch(share=True)
|
|
|
136 |
submit_button = gr.Button("Submit")
|
137 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
138 |
|
139 |
+
|
140 |
+
|
141 |
+
# Launch the Gradio app to allow user interaction
|
142 |
+
demo.launch(share=True)
|
143 |
+
|
144 |
theme = gr.themes.Default(
|
145 |
primary_hue=gr.themes.Color(c100="#ffedd5", c200="#fed7aa", c300="#ffe09e", c400="#c2814c", c50="#fff8f0", c500="#f97316", c600="#ea580c", c700="#c2410c", c800="#9a3412", c900="#7c2d12", c950="#611f00"),
|
146 |
secondary_hue="red",
|
|
|
207 |
|
208 |
with gr.Blocks(theme=theme) as demo:
|
209 |
...
|
|
|
|
|
|