Spaces:
Sleeping
Sleeping
Commit
·
bb02685
1
Parent(s):
17cac46
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,12 +17,12 @@ try:
|
|
| 17 |
return reply
|
| 18 |
except:
|
| 19 |
print("Try Again")
|
| 20 |
-
|
| 21 |
reply = gr.Interface(
|
| 22 |
fn=ChatReply,
|
| 23 |
inputs=gr.Textbox(label="Write any term", placeholder="E.g. Flutter?"),
|
| 24 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
| 25 |
-
theme=
|
| 26 |
title="Explain things in simple way"
|
| 27 |
)
|
| 28 |
|
|
|
|
| 17 |
return reply
|
| 18 |
except:
|
| 19 |
print("Try Again")
|
| 20 |
+
custom_theme = gr.Themes(primary_hue="blue", secondary_hue="green", neutral_hue="gray")
|
| 21 |
reply = gr.Interface(
|
| 22 |
fn=ChatReply,
|
| 23 |
inputs=gr.Textbox(label="Write any term", placeholder="E.g. Flutter?"),
|
| 24 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
| 25 |
+
theme=custom_theme,
|
| 26 |
title="Explain things in simple way"
|
| 27 |
)
|
| 28 |
|