Tonic commited on
Commit
5dacb50
·
1 Parent(s): 551a0b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -4,9 +4,20 @@ from dotenv import load_dotenv
4
  import os
5
  import time
6
 
7
- # Global variable to store the current thread ID
8
  current_thread_id = None
9
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  examples = [
11
  ["My Eucalyptus tree is struggling outside in the cold weather in Europe"],
12
  ["My calathea house plant is yellowing."],
@@ -79,10 +90,10 @@ def ask_openai(question):
79
 
80
  iface = gr.Interface(
81
  fn=ask_openai,
 
 
82
  inputs=gr.Textbox(lines=5, placeholder="Hi there, I have a plant that's..."),
83
  outputs=gr.Markdown(),
84
- title="Welcome to Tonic's Bulbi Plant Doctor",
85
- description="""Introduce your plant below. Be as descriptive as possible. Respond with additional information when prompted. Save your plants with Bulbi Plant Doctor""",
86
  examples=examples
87
  )
88
 
 
4
  import os
5
  import time
6
 
 
7
  current_thread_id = None
8
 
9
+ title = "# Welcome to 🙋🏻‍♂️Tonic's🕵🏻‍♂️Bulbi🪴Plant👩🏻‍⚕️Doctor!"
10
+ description = """Here you can use Bulbi - an OpenAI agent that helps you save your plants!
11
+ OpenAI doesnt let you use Agents without paying for it, so I made you an interface you can use for free !
12
+ ### How to use:
13
+ - Introduce your🌵plant below.
14
+ - Be as🌿descriptive as possible.
15
+ - **Respond with additional🗣️information when prompted.**
16
+ - Save your plants with👨🏻‍⚕️Bulbi Plant Doctor!
17
+ ### Join us:
18
+ [Join my active builders' server on discord](https://discord.gg/VqTxc76K3u). Let's build together!
19
+ Big thanks to 🤗Huggingface Organisation for the🫂Community Grant"""
20
+
21
  examples = [
22
  ["My Eucalyptus tree is struggling outside in the cold weather in Europe"],
23
  ["My calathea house plant is yellowing."],
 
90
 
91
  iface = gr.Interface(
92
  fn=ask_openai,
93
+ gr.Markdown(title)
94
+ gr.Markdown(description)
95
  inputs=gr.Textbox(lines=5, placeholder="Hi there, I have a plant that's..."),
96
  outputs=gr.Markdown(),
 
 
97
  examples=examples
98
  )
99