abdfajar707 commited on
Commit
b726fc0
·
verified ·
1 Parent(s): cbd7d93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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: 100% !important; }"
59
  "#chatbot { flex-grow: 1 !important; overflow: auto !important;}"
60
- "#col { height: 80vh !important; }") as interface:
61
  with gr.Row():
62
- with gr.Column(scale=1):
63
- gr.HTML('<img src="https://datahub.data.go.id/data/static/Kementerian%20PPN%20Bappenas%20Tanpa%20Teks.png" width="100px" alt="Image" style="max-width: 100%;">')
64
  with gr.Row():
65
- with gr.Column(scale=1, elem_id='col'):
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>