gerasdf
commited on
Commit
·
39464f0
1
Parent(s):
70798cd
rename gr_main -> gr_setup
Browse files
query.py
CHANGED
|
@@ -348,7 +348,7 @@ def chat_change(history):
|
|
| 348 |
TEXT_TALK = "🎤 Talk"
|
| 349 |
TEXT_STOP = "⏹ Stop"
|
| 350 |
|
| 351 |
-
def
|
| 352 |
theme = gr.Theme.from_hub("freddyaboulton/dracula_revamped@0.3.9")
|
| 353 |
theme.set(
|
| 354 |
color_accent_soft="#818eb6", # ChatBot.svelte / .user / .message-row.panel.user-row . neutral_500 -> neutral_200
|
|
@@ -468,5 +468,5 @@ def gr_main():
|
|
| 468 |
|
| 469 |
if __name__ == "__main__":
|
| 470 |
ai_setup()
|
| 471 |
-
app =
|
| 472 |
app.launch(show_api=False)
|
|
|
|
| 348 |
TEXT_TALK = "🎤 Talk"
|
| 349 |
TEXT_STOP = "⏹ Stop"
|
| 350 |
|
| 351 |
+
def gr_setup():
|
| 352 |
theme = gr.Theme.from_hub("freddyaboulton/dracula_revamped@0.3.9")
|
| 353 |
theme.set(
|
| 354 |
color_accent_soft="#818eb6", # ChatBot.svelte / .user / .message-row.panel.user-row . neutral_500 -> neutral_200
|
|
|
|
| 468 |
|
| 469 |
if __name__ == "__main__":
|
| 470 |
ai_setup()
|
| 471 |
+
app = gr_setup()
|
| 472 |
app.launch(show_api=False)
|