artificialguybr commited on
Commit
25819b2
1 Parent(s): f7c578d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -48,6 +48,14 @@ def chat(history, system_message, max_tokens, temperature, top_p, top_k, repetit
48
  history[-1][1] += answer
49
  yield history, history, ""
50
 
 
 
 
 
 
 
 
 
51
  with gr.Blocks(css=CSS) as demo:
52
  with gr.Row():
53
  with gr.Column():
 
48
  history[-1][1] += answer
49
  yield history, history, ""
50
 
51
+ start_message = ""
52
+
53
+ CSS ="""
54
+ .contain { display: flex; flex-direction: column; }
55
+ .gradio-container { height: 100vh !important; }
56
+ #component-0 { height: 100%; }
57
+ #chatbot { flex-grow: 1; overflow: auto; resize: vertical; }
58
+ """
59
  with gr.Blocks(css=CSS) as demo:
60
  with gr.Row():
61
  with gr.Column():