Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -200,11 +200,17 @@ with gr.Blocks(title="Jacob Isaacson Chatbot") as iface:
|
|
200 |
|
201 |
gr.ChatInterface(
|
202 |
fn=me.chat_stream,
|
203 |
-
chatbot=gr.Chatbot(
|
|
|
|
|
|
|
|
|
|
|
204 |
type="messages",
|
205 |
additional_inputs=[],
|
206 |
)
|
207 |
|
|
|
208 |
if __name__ == "__main__":
|
209 |
iface.launch()
|
210 |
|
|
|
200 |
|
201 |
gr.ChatInterface(
|
202 |
fn=me.chat_stream,
|
203 |
+
chatbot=gr.Chatbot(
|
204 |
+
value=[
|
205 |
+
{"role": "assistant", "content": "Hello, my name is Jacob Isaacson. Please ask me any questions about my professional career and I will do my best to respond."}
|
206 |
+
],
|
207 |
+
show_copy_button=True,
|
208 |
+
),
|
209 |
type="messages",
|
210 |
additional_inputs=[],
|
211 |
)
|
212 |
|
213 |
+
|
214 |
if __name__ == "__main__":
|
215 |
iface.launch()
|
216 |
|