hsendhilvel commited on
Commit
18fcee9
·
verified ·
1 Parent(s): 1bce5db

test with chatbot

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -10,15 +10,16 @@ custom_chatbot = gr.Chatbot(
10
  )
11
 
12
 
13
- with gr.Blocks(theme=gr.themes.Ocean()) as demo:
14
- gr.Markdown("This is a productivity chatbot")
15
- gr.ChatInterface(
16
- respond,
17
- title="Yes No Bot",
18
- description="This chatbot responds yes or no to your questions!",
19
- examples=["Will I win the lottery?", "Am I the drama?"],
20
- chatbot=custom_chatbot # Inject the custom chatbot here
21
- )
 
22
  with gr.Row():
23
  gr.HTML("""
24
  <iframe
 
10
  )
11
 
12
 
13
+ with gr.Blocks(theme=gr.Theme.from_hub("TejAndrewsACC/Z3ta-Z-Theme")) as chatbot:
14
+ with gr.Row():
15
+ gr.Markdown("This is a productivity chatbot")
16
+ with gr.Row():
17
+ gr.ChatInterface(
18
+ respond,
19
+ title="ZenPal",
20
+ description="Hi I am ZenPal",
21
+ examples=["Physical", "Creative", "Academic"],
22
+ )
23
  with gr.Row():
24
  gr.HTML("""
25
  <iframe