sudhir2016 commited on
Commit
b4d335e
·
1 Parent(s): 6455886

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,5 +9,5 @@ chain = LLMChain(llm=llm, prompt=prompt)
9
  def answer(question):
10
  out=chain.run(question)
11
  return out
12
- demo = gr.Interface(fn=answer, inputs='text',outputs='text')
13
  demo.launch()
 
9
  def answer(question):
10
  out=chain.run(question)
11
  return out
12
+ demo = gr.Interface(fn=answer, inputs='text',outputs='text',examples=[['What is the capital of India ?']])
13
  demo.launch()