Update app.py
Browse files
app.py
CHANGED
|
@@ -75,5 +75,19 @@ demo = gr.ChatInterface(
|
|
| 75 |
theme=gr.themes.Soft()
|
| 76 |
)
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
if __name__ == "__main__":
|
| 79 |
demo.launch()
|
|
|
|
| 75 |
theme=gr.themes.Soft()
|
| 76 |
)
|
| 77 |
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
# В конце, перед demo.launch() добавьте:
|
| 82 |
+
demo = gr.ChatInterface(
|
| 83 |
+
# ... ваш существующий код ...
|
| 84 |
+
theme=gr.themes.Monochrome(
|
| 85 |
+
primary_hue="red",
|
| 86 |
+
secondary_hue="pink",
|
| 87 |
+
neutral_hue="gray",
|
| 88 |
+
font=["Arial", "sans-serif"]
|
| 89 |
+
)
|
| 90 |
+
)
|
| 91 |
+
|
| 92 |
if __name__ == "__main__":
|
| 93 |
demo.launch()
|