Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,7 @@ def doc_chat_with_tts(prompt, history, file_key, audio_file, translate, voice):
|
|
239 |
return new_messages, audio_path
|
240 |
|
241 |
# --- Membangun Antarmuka Gradio Sederhana (tanpa tab) ---
|
242 |
-
with gr.Blocks(
|
243 |
|
244 |
# Chat interface
|
245 |
doc_chat_history = gr.Chatbot(label="Riwayat Chat", type="messages")
|
|
|
239 |
return new_messages, audio_path
|
240 |
|
241 |
# --- Membangun Antarmuka Gradio Sederhana (tanpa tab) ---
|
242 |
+
with gr.Blocks(theme=themes.Base(primary_hue="teal", secondary_hue="teal", neutral_hue="slate")) as demo:
|
243 |
|
244 |
# Chat interface
|
245 |
doc_chat_history = gr.Chatbot(label="Riwayat Chat", type="messages")
|