Tonic commited on
Commit
5c2d571
Β·
1 Parent(s): 36ba020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,10 +89,10 @@ def ask_openai(question):
89
  return f"An error occurred: {str(e)}"
90
 
91
  iface = gr.Interface(
 
 
92
  fn=ask_openai,
93
  inputs=gr.Textbox(lines=5, placeholder="Hi there, I have a plant that's..."),
94
  outputs=gr.Markdown(),
95
- examples=examples,
96
- gr.Markdown(title),
97
- gr.Markdown(description)
98
  )
 
89
  return f"An error occurred: {str(e)}"
90
 
91
  iface = gr.Interface(
92
+ title=title,
93
+ description=description,
94
  fn=ask_openai,
95
  inputs=gr.Textbox(lines=5, placeholder="Hi there, I have a plant that's..."),
96
  outputs=gr.Markdown(),
97
+ examples=examples
 
 
98
  )