Tonic commited on
Commit
26e24fe
1 Parent(s): d626749

Update app.py

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