Spaces:
Runtime error
Runtime error
Commit
·
b4d335e
1
Parent(s):
6455886
Update app.py
Browse files
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()
|