SamiKoen commited on
Commit
3e34f86
·
verified ·
1 Parent(s): 72450d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -462,6 +462,13 @@ demo = gr.ChatInterface(
462
  flagging_options=["Doğru", "Yanlış", "Emin değilim", "Diğer"],
463
  save_history=True
464
  )
 
 
 
 
 
 
465
 
 
466
  if __name__ == "__main__":
467
  demo.launch(debug=True)
 
462
  flagging_options=["Doğru", "Yanlış", "Emin değilim", "Diğer"],
463
  save_history=True
464
  )
465
+ css = """
466
+ .contain { display: flex; flex-direction: column; }
467
+ .gradio-container { height: 100vh !important; }
468
+ #component-0 { height: 100% !important; overflow-y: auto; }
469
+ #chatbot { flex-grow: 1; overflow-y: auto; }
470
+ """
471
 
472
+ with gr.Blocks(css=css) as demo:
473
  if __name__ == "__main__":
474
  demo.launch(debug=True)