Tafar commited on
Commit
4bfc35b
·
1 Parent(s): 2944216

Update chat_app.py

Browse files
Files changed (1) hide show
  1. chat_app.py +3 -3
chat_app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from styles import get_chat_interface_style
3
  import random
4
  import time
5
 
@@ -33,8 +33,8 @@ def launch_chat_app():
33
  with gr.Blocks() as demo:
34
  chat_interface_style = get_chat_interface_style()
35
 
36
- chatbot = gr.Chatbot(style=chat_interface_style["Chatbox"])
37
- msg = gr.Textbox("Write your input here", style=chat_interface_style["Textbox"])
38
  submit_button = gr.Button("Submit")
39
  chat_history_slider = gr.Slider(minimum=1, maximum=10, value=5, label="Chat History Length")
40
 
 
1
  import gradio as gr
2
+ from styles import get_chat_interface_style, get_textbox_style, get_chatbox_style
3
  import random
4
  import time
5
 
 
33
  with gr.Blocks() as demo:
34
  chat_interface_style = get_chat_interface_style()
35
 
36
+ chatbot = gr.Chatbot(style=get_chatbox_style())
37
+ msg = gr.Textbox("Write your input here", style=get_textbox_style())
38
  submit_button = gr.Button("Submit")
39
  chat_history_slider = gr.Slider(minimum=1, maximum=10, value=5, label="Chat History Length")
40