peterkros commited on
Commit
fb397d1
·
verified ·
1 Parent(s): 445f946

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -77,16 +77,19 @@ css = """
77
  background: url('https://huggingface.co/spaces/peterkros/child-safe-chatbot/blob/main/iPhone-mob.png') no-repeat center center;
78
  background-size: cover;
79
  height: 700px;
 
 
80
  }
81
 
82
  #chatbot {
83
  height: calc(100% - 50px);
84
  overflow-y: auto;
 
85
  }
86
  """
87
 
88
  with gr.Blocks(css=css) as demo:
89
- with gr.Box(elem_id="chat-container"):
90
  gr.Markdown(
91
  """
92
  # Child safe chatbot project!
 
77
  background: url('https://huggingface.co/spaces/peterkros/child-safe-chatbot/blob/main/iPhone-mob.png') no-repeat center center;
78
  background-size: cover;
79
  height: 700px;
80
+ padding: 20px;
81
+ box-sizing: border-box;
82
  }
83
 
84
  #chatbot {
85
  height: calc(100% - 50px);
86
  overflow-y: auto;
87
+ background: transparent;
88
  }
89
  """
90
 
91
  with gr.Blocks(css=css) as demo:
92
+ with gr.Column(elem_id="chat-container"):
93
  gr.Markdown(
94
  """
95
  # Child safe chatbot project!