Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -55,14 +55,14 @@ def converse(message, chat_history):
|
|
55 |
return history[-1]["content"]
|
56 |
|
57 |
with gr.Blocks(css=".contain { display: flex !important; flex-direction: column !important; }"
|
58 |
-
"#component-0, #component-3, #component-10, #component-8 { height:
|
59 |
"#chatbot { flex-grow: 1 !important; overflow: auto !important;}"
|
60 |
-
"#col { height:
|
61 |
with gr.Row():
|
62 |
-
with gr.Column(scale=
|
63 |
-
gr.HTML('<img src="https://datahub.data.go.id/data/static/Kementerian%20PPN%20Bappenas%20Tanpa%20Teks.png" width="
|
64 |
with gr.Row():
|
65 |
-
with gr.Column(scale=
|
66 |
gr.ChatInterface(fn=converse, title=("""
|
67 |
<center>
|
68 |
<h1>KemenPPN/Bappenas</h1>
|
|
|
55 |
return history[-1]["content"]
|
56 |
|
57 |
with gr.Blocks(css=".contain { display: flex !important; flex-direction: column !important; }"
|
58 |
+
"#component-0, #component-3, #component-10, #component-8 { height: 75% !important; }"
|
59 |
"#chatbot { flex-grow: 1 !important; overflow: auto !important;}"
|
60 |
+
"#col { height: 60vh !important; }") as interface:
|
61 |
with gr.Row():
|
62 |
+
with gr.Column(scale=0.75):
|
63 |
+
gr.HTML('<img src="https://datahub.data.go.id/data/static/Kementerian%20PPN%20Bappenas%20Tanpa%20Teks.png" width="75px" alt="Image" style="max-width: 75%;">')
|
64 |
with gr.Row():
|
65 |
+
with gr.Column(scale=0.75, elem_id='col'):
|
66 |
gr.ChatInterface(fn=converse, title=("""
|
67 |
<center>
|
68 |
<h1>KemenPPN/Bappenas</h1>
|