Vipan4378547 commited on
Commit
e23e9ec
1 Parent(s): 1d6a519

update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -45,7 +45,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
 
 
 
49
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
@@ -56,8 +59,10 @@ demo = gr.ChatInterface(
56
  label="Top-p (nucleus sampling)",
57
  ),
58
  ],
 
 
59
  )
60
 
61
 
62
  if __name__ == "__main__":
63
- demo.launch()
 
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
+ gr.Textbox(
49
+ value="Welcome to the Personalized Book Recommendation Bot! I can suggest books based on your reading preferences. Tell me about the genres, authors, or types of stories you enjoy, and I'll recommend some great reads for you. How can I help you today?",
50
+ label="System message",
51
+ ),
52
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
53
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
54
  gr.Slider(
 
59
  label="Top-p (nucleus sampling)",
60
  ),
61
  ],
62
+ title="Personalized Book Recommendation Bot",
63
+ description="Get personalized book recommendations based on your preferences. Enter the genres, authors, or types of stories you like, and receive tailored book suggestions.",
64
  )
65
 
66
 
67
  if __name__ == "__main__":
68
+ demo.launch()