Sizing and theme
Browse files
app.py
CHANGED
@@ -67,12 +67,12 @@ def get_first_message(history):
|
|
67 |
def bot(history):
|
68 |
return history
|
69 |
|
70 |
-
with gr.Blocks() as demo:
|
71 |
# Title on top in middle of the page
|
72 |
|
73 |
gr.HTML("<h1 style='text-align: center;color: darkblue'>Course Assistant - 3D Printing Revolution</h1>")
|
74 |
|
75 |
-
chatbot = gr.Chatbot(get_first_message([]), elem_id="chatbot").style(height=500)
|
76 |
|
77 |
# with gr.Row():
|
78 |
# Create radio button to select model
|
|
|
67 |
def bot(history):
|
68 |
return history
|
69 |
|
70 |
+
with gr.Blocks(theme='snehilsanyal/scikit-learn') as demo:
|
71 |
# Title on top in middle of the page
|
72 |
|
73 |
gr.HTML("<h1 style='text-align: center;color: darkblue'>Course Assistant - 3D Printing Revolution</h1>")
|
74 |
|
75 |
+
chatbot = gr.Chatbot(get_first_message([]), elem_id="chatbot", label='Coursera Chatbot').style(height=500, container=False)
|
76 |
|
77 |
# with gr.Row():
|
78 |
# Create radio button to select model
|