Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,5 +16,9 @@ def get_question(context, answer, max_length=64):
|
|
16 |
|
17 |
examples = [["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "1948"], ["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "Tom Kilburn"], ["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "computer scientist"]]
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
demo.launch()
|
|
|
16 |
|
17 |
examples = [["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "1948"], ["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "Tom Kilburn"], ["The world's first piece of software was written by a computer scientist named Tom Kilburn in 1948.", "computer scientist"]]
|
18 |
|
19 |
+
css = """
|
20 |
+
.footer {display:none !important}
|
21 |
+
"""
|
22 |
+
|
23 |
+
demo = gr.Interface(fn=get_question, inputs=["text", "text"], outputs="text", title="Question Generator", examples=examples, css=css)
|
24 |
demo.launch()
|