Tonic commited on
Commit
d5140c7
·
1 Parent(s): d7697ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import openai
3
 
4
 
5
  title="Wecome to Tonic's Bulbi Plant Doctor",
6
- description="""Introduce your plant below. Respond with additional information when prompted. Save your plants with Bulbi Plant Doctor"""
7
 
8
  load_dotenv()
9
  openai.api_key = os.getenv('OPENAI_API_KEY')
@@ -40,10 +40,11 @@ examples = [
40
 
41
  iface = gr.Interface(
42
  fn=ask_openai,
43
- inputs=gr.Textbox(lines=2, placeholder="Hi there, I have a plant that's..."),
44
  outputs=gr.outputs.Markdown(),
45
  title=title,
46
  description=description
 
47
  )
48
 
49
  iface.launch()
 
3
 
4
 
5
  title="Wecome to Tonic's Bulbi Plant Doctor",
6
+ description="""Introduce your plant below. Be as descriptive as possible. Respond with additional information when prompted. Save your plants with Bulbi Plant Doctor"""
7
 
8
  load_dotenv()
9
  openai.api_key = os.getenv('OPENAI_API_KEY')
 
40
 
41
  iface = gr.Interface(
42
  fn=ask_openai,
43
+ inputs=gr.Textbox(lines=5, placeholder="Hi there, I have a plant that's..."),
44
  outputs=gr.outputs.Markdown(),
45
  title=title,
46
  description=description
47
+ theme="Tonic/greenblast"
48
  )
49
 
50
  iface.launch()