first message fix
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ with gr.Blocks(theme='snehilsanyal/scikit-learn') as demo:
|
|
| 69 |
|
| 70 |
def get_first_message(history):
|
| 71 |
history = [(None,
|
| 72 |
-
'Learn about
|
| 73 |
return history
|
| 74 |
|
| 75 |
|
|
@@ -82,7 +82,7 @@ with gr.Blocks(theme='snehilsanyal/scikit-learn') as demo:
|
|
| 82 |
# Title on top in middle of the page
|
| 83 |
# gr.HTML("<h1 style='text-align: center;'>Course Assistant - 3D Printing Revolution</h1>")
|
| 84 |
|
| 85 |
-
chatbot = gr.Chatbot(get_first_message([]), elem_id="chatbot", label='3D Printing
|
| 86 |
container=False)
|
| 87 |
|
| 88 |
# with gr.Row():
|
|
|
|
| 69 |
|
| 70 |
def get_first_message(history):
|
| 71 |
history = [(None,
|
| 72 |
+
'Learn about the course and get answers with referred sources.\nWarning! Use the bot wisely. It might give incorrect answers.')]
|
| 73 |
return history
|
| 74 |
|
| 75 |
|
|
|
|
| 82 |
# Title on top in middle of the page
|
| 83 |
# gr.HTML("<h1 style='text-align: center;'>Course Assistant - 3D Printing Revolution</h1>")
|
| 84 |
|
| 85 |
+
chatbot = gr.Chatbot(get_first_message([]), elem_id="chatbot", label='3D Printing Applications').style(height=400,
|
| 86 |
container=False)
|
| 87 |
|
| 88 |
# with gr.Row():
|