arielleharris commited on
Commit
4f33433
·
verified ·
1 Parent(s): 8ab6090

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -31,10 +31,13 @@ interface = gr.Interface(
31
  fn=faq_chatbot,
32
  inputs=gr.Textbox(lines=2, placeholder="Ask me about studying tips or resources..."),
33
  outputs="text",
34
- title="Academic Advisor",
35
- description="Ask me for study tips, time management advice, or about resources to help with your studies!",
36
- inputs_label="**Academic Advisor**", # Change the label to "Academic Advisor"
37
  )
38
 
 
 
 
 
39
  # Launch the chatbot
40
  interface.launch(share=True)
 
31
  fn=faq_chatbot,
32
  inputs=gr.Textbox(lines=2, placeholder="Ask me about studying tips or resources..."),
33
  outputs="text",
34
+ title="**Academic Advisor**",
35
+ description="Ask me for study tips, time management advice, or about resources to help with your studies!"
 
36
  )
37
 
38
+ # Add text above the input box (optional)
39
+ label = gr.Text("**Academic Advisor**")
40
+ interface = gr.Interface(label, interface, layout="vertical") # Stack label on top of interface
41
+
42
  # Launch the chatbot
43
  interface.launch(share=True)