1hangzhao commited on
Commit
c9cfa8d
·
verified ·
1 Parent(s): 9ea2329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ with gr.Blocks() as user_story_interface:
37
  user_story_chatbot = gr.Chatbot(
38
  value=[
39
  {"role": "assistant", "content": (
40
- "Hello! I'm OntoChat 😊. I'll help you create an ontology user story! \n\nDon't worry about prompting—**find the template 📄 and edit the placeholders 📝** to craft a high-quality response 👍. \n\nPlaceholders **\*\*[]\*\*** are **mandatory**; placeholders **\*[]\*** are **optional**. \n\nLet's get started! **Which domain is this ontology for?** For example, 'Healthcare, Wine, Music, etc.'. Use template **[Create Domain]** to answer."
41
  )}
42
  ],
43
  height="472px",
@@ -46,7 +46,7 @@ with gr.Blocks() as user_story_interface:
46
  user_story_input = gr.Textbox(
47
  label="Message OntoChat",
48
  placeholder="Please type your message here and press Shift + Enter to interact with the chatbot:",
49
- max_lines = 4,
50
  lines = 1
51
  )
52
  elicitation_questions_dataset = gr.Dataset(
 
37
  user_story_chatbot = gr.Chatbot(
38
  value=[
39
  {"role": "assistant", "content": (
40
+ "Hello! I'm OntoChat 😊. I'll help you create an ontology user story! \n\n1. Don't worry about prompting—**find the template 📄 and edit the placeholders 📝** to craft a high-quality response 👍. \n\n2. Placeholders **\*\*[]\*\*** are **mandatory**; placeholders **\*[]\*** are **optional**. \n\n3. Feel free to ask OntoChat any questions if needed. \n\nLet's get started! **Which domain is this ontology for?** For example, 'Healthcare, Wine, Music, etc.'. Use template **[Create Domain]** to answer."
41
  )}
42
  ],
43
  height="472px",
 
46
  user_story_input = gr.Textbox(
47
  label="Message OntoChat",
48
  placeholder="Please type your message here and press Shift + Enter to interact with the chatbot:",
49
+ max_lines = 20,
50
  lines = 1
51
  )
52
  elicitation_questions_dataset = gr.Dataset(