Merge remote-tracking branch 'origin/main'
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 the course and get answers with
|
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 Applications').style(height=300,
|
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 sources.\n This is an experiment using AI, so it might make errors')]
|
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 Question Answer Bot').style(height=300,
|
86 |
container=False)
|
87 |
|
88 |
# with gr.Row():
|