FahadAlam commited on
Commit
867ad66
·
1 Parent(s): 387cfc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,5 +16,5 @@ def get_question(answer, context, max_length=64):
16
 
17
  examples = [["answer: 1948 context: The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948."], ["answer: Tom Kilburn context: The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948."]]
18
 
19
- demo = gr.Interface(fn=question_generator, inputs=["text", "text"], outputs="text", title="Question Generator", examples=examples)
20
  demo.launch()
 
16
 
17
  examples = [["answer: 1948 context: The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948."], ["answer: Tom Kilburn context: The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948."]]
18
 
19
+ demo = gr.Interface(fn=get_question, inputs=["text", "text"], outputs="text", title="Question Generator", examples=examples)
20
  demo.launch()