anniesaxena commited on
Commit
8531004
·
verified ·
1 Parent(s): b079bd8

Added Banner/"Teach me about stocks"

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -81,7 +81,19 @@ def respond(message, history):
81
  response += token # Add it to the response
82
  yield response # yield the response:
83
 
84
- chatbot = gr.ChatInterface(respond, examples = ["Learn About Stocks", "Help me Budget"], title = "ChaChingas", description = "This is a financial literacy chatbot")
 
 
 
 
 
 
 
 
 
 
 
 
85
  chatbot.launch()
86
 
87
  #build on your original chatbot from the previous lesson
 
81
  response += token # Add it to the response
82
  yield response # yield the response:
83
 
84
+ chatbot = gr.ChatInterface(respond, examples = ["Teach Me About Stocks", "Help Me Budget"], title = "ChaChingas", description = "This is a financial literacy chatbot")
85
+
86
+ with gr.Blocks() as chatbot:
87
+ gr.Image(
88
+ value = "Banner.png",
89
+ show_label = False,
90
+ show_share_button= False,
91
+ show_download_button= False )
92
+ gr.ChatInterface(respond, type = "messages")
93
+
94
+
95
+
96
+
97
  chatbot.launch()
98
 
99
  #build on your original chatbot from the previous lesson