thejas-gida commited on
Commit
7ae95f4
·
1 Parent(s): 0e5a0f6

added title and description

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -49,6 +49,14 @@ add = "Return the output in a table format or an ordered list legible to the use
49
  def greet(Question):
50
  return agent_executor.run(input=add+Question)
51
 
52
- demo = gr.Interface(greet, gr.Textbox(lines=2, label="Question",placeholder="What do you want to know...?",outputs="text",title="Here Auto",description="Know everything about Cars and Bikes"),["html"])
 
 
 
 
 
 
 
 
53
 
54
  demo.launch()
 
49
  def greet(Question):
50
  return agent_executor.run(input=add+Question)
51
 
52
+ # demo = gr.Interface(greet, gr.Textbox(lines=2, label="Question",placeholder="What do you want to know...?",outputs="text",title="Here Auto",description="Know everything about Cars and Bikes"),["html"])
53
+ demo = gr.Interface(
54
+ fn=greet,
55
+ inputs=gr.Textbox(lines=2, label="Question", placeholder="What do you want to know...?"),
56
+ outputs=gr.HTML(""),
57
+ # examples=['what are the specifications of tata indica?'],
58
+ title="Here Auto",
59
+ description="Know everything about Cars and Bikes",
60
+ )
61
 
62
  demo.launch()