Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,14 @@ def chat_with_dify(message, history):
|
|
67 |
|
68 |
# Gradio arayüzünü oluştur
|
69 |
with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
gr.Markdown("Bilgi almak istediğiniz hukuki alanlar ile ilgili soru sorabilirsiniz.")
|
72 |
|
73 |
chatbot = gr.Chatbot(height=400)
|
|
|
67 |
|
68 |
# Gradio arayüzünü oluştur
|
69 |
with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
70 |
+
# Logo ve başlık yan yana olacak şekilde HTML formatında
|
71 |
+
gr.HTML("""
|
72 |
+
<div style="display: flex; align-items: center; gap: 20px;">
|
73 |
+
<h1 style="margin: 0;">Etikos AI Hukuk Asistanı</h1>
|
74 |
+
<img src="logo.png" height="50" />
|
75 |
+
</div>
|
76 |
+
""")
|
77 |
+
|
78 |
gr.Markdown("Bilgi almak istediğiniz hukuki alanlar ile ilgili soru sorabilirsiniz.")
|
79 |
|
80 |
chatbot = gr.Chatbot(height=400)
|