Timjo88 commited on
Commit
055bd4c
Β·
1 Parent(s): 22ba244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -37,10 +37,12 @@ def predict(question):
37
 
38
  input_question =gr.inputs.Textbox(label="enter your monopoly question here")
39
  response = "text"
 
40
 
41
  gr.Interface(
42
  fn=predict,
43
  inputs=input_question,
44
  outputs=response,
 
45
  title="Monopoly FAQ Semantic Search",
46
  ).launch()
 
37
 
38
  input_question =gr.inputs.Textbox(label="enter your monopoly question here")
39
  response = "text"
40
+ examples = ["how much cash do we get to start with?","how many people can play monopoly?"]
41
 
42
  gr.Interface(
43
  fn=predict,
44
  inputs=input_question,
45
  outputs=response,
46
+ examples=examples,
47
  title="Monopoly FAQ Semantic Search",
48
  ).launch()