Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -158,8 +158,8 @@ def display_iframe():
|
|
| 158 |
return iframe
|
| 159 |
|
| 160 |
theme = gr.themes.Monochrome(
|
| 161 |
-
primary_hue="
|
| 162 |
-
secondary_hue="
|
| 163 |
).set(
|
| 164 |
background_fill_primary='*primary_200',
|
| 165 |
background_fill_primary_dark='*primary_200',
|
|
@@ -183,7 +183,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 183 |
with gr.Row():
|
| 184 |
with gr.Column():
|
| 185 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
| 186 |
-
answer = gr.Textbox(label="CalmConnect's Response", placeholder="CalmConnect will respond here...", interactive=False, lines=
|
| 187 |
submit_button = gr.Button("Submit")
|
| 188 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 189 |
|
|
|
|
| 158 |
return iframe
|
| 159 |
|
| 160 |
theme = gr.themes.Monochrome(
|
| 161 |
+
primary_hue="pink",
|
| 162 |
+
secondary_hue="green",
|
| 163 |
).set(
|
| 164 |
background_fill_primary='*primary_200',
|
| 165 |
background_fill_primary_dark='*primary_200',
|
|
|
|
| 183 |
with gr.Row():
|
| 184 |
with gr.Column():
|
| 185 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
| 186 |
+
answer = gr.Textbox(label="CalmConnect's Response", placeholder="CalmConnect will respond here...", interactive=False, lines=17)
|
| 187 |
submit_button = gr.Button("Submit")
|
| 188 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 189 |
|