Reality123b commited on
Commit
3d3bfbe
·
verified ·
1 Parent(s): 81e3034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,7 +39,7 @@ def chat_interface():
39
  type="messages" # Specify type for correct message format
40
  )
41
 
42
- with gr.Row(elem_id="input-row"):
43
  with gr.Column(): # No 'min_width' argument here
44
  input_textbox = gr.Textbox(
45
  label="Type your message",
@@ -88,7 +88,7 @@ def chat_interface():
88
  border-top: 1px solid #ddd;
89
  }
90
  #chat-box {
91
- height: calc(100vh - 100px); /* Adjust the height of chat history */
92
  overflow-y: scroll;
93
  }
94
  #user-input, #send-btn {
 
39
  type="messages" # Specify type for correct message format
40
  )
41
 
42
+ with gr.Row(elem_id="input-row", min_width=600):
43
  with gr.Column(): # No 'min_width' argument here
44
  input_textbox = gr.Textbox(
45
  label="Type your message",
 
88
  border-top: 1px solid #ddd;
89
  }
90
  #chat-box {
91
+ height: calc(100vh - 150px); /* Adjust the height of chat history */
92
  overflow-y: scroll;
93
  }
94
  #user-input, #send-btn {