Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ sej = Sejarah()
|
|
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="
|
10 |
description="## Question Answering in Malaysian Language (History)\n\n(**English** and **Bahasa Malaysia**)",
|
11 |
allow_flagging = False
|
12 |
)
|
|
|
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="Konteks (Context)")],
|
10 |
description="## Question Answering in Malaysian Language (History)\n\n(**English** and **Bahasa Malaysia**)",
|
11 |
allow_flagging = False
|
12 |
)
|