Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# def
|
4 |
+
|
5 |
+
# iface = gr.Interface(
|
6 |
+
# fn=chatbot_interface,
|
7 |
+
# inputs=gr.inputs.Textbox(label="Please Type Your Question Here: "),
|
8 |
+
# outputs=[gr.outputs.Textbox(label="Answers"), gr.outputs.Textbox(label="Chat History")],
|
9 |
+
# description="## Question Answering system\n\nIt supports **English** and **Bahasa Malaysia**.",
|
10 |
+
# allow_flagging = False
|
11 |
+
# )
|
12 |
+
|
13 |
+
# #Demo for the chatbot
|
14 |
+
# iface.launch(inline = False)
|