Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ sej = Sejarah()
|
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
fn=sej.interface,
|
8 |
-
inputs=gr.inputs.Textbox(label="
|
9 |
-
outputs=[gr.outputs.Textbox(label="Answers"),gr.outputs.Textbox(label="Content")],
|
10 |
description="## Question Answering in Malaysian Language (History)\n\n(**English** and **Bahasa Malaysia**)",
|
11 |
allow_flagging = False
|
12 |
)
|
13 |
|
14 |
-
iface.launch(inline = True
|
|
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
fn=sej.interface,
|
8 |
+
inputs=gr.inputs.Textbox(label="Tanya saya tentang sejarah Malaysia (Ask me about the history of Malaysia): "),
|
9 |
+
outputs=[gr.outputs.Textbox(label="Jawapan (Answers)"),gr.outputs.Textbox(label="Kandungan (Content)")],
|
10 |
description="## Question Answering in Malaysian Language (History)\n\n(**English** and **Bahasa Malaysia**)",
|
11 |
allow_flagging = False
|
12 |
)
|
13 |
|
14 |
+
iface.launch(inline = True)
|