Spaces:
Running
on
Zero
Running
on
Zero
Nihal Nayak
commited on
Commit
·
716cf6a
1
Parent(s):
7c5f508
fix
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ examples = [
|
|
87 |
|
88 |
demo = gr.Interface(
|
89 |
respond,
|
90 |
-
inputs=gr.Textbox(lines=5, label="Enter context here"),
|
91 |
outputs=gr.Textbox(lines=20, label="Generated Instruction-Response Pairs"),
|
92 |
additional_inputs=[
|
93 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
|
|
87 |
|
88 |
demo = gr.Interface(
|
89 |
respond,
|
90 |
+
inputs=[gr.Textbox(lines=5, label="Enter context here"), gr.Dropdown(["extractive question answering"], label="Task Type")],
|
91 |
outputs=gr.Textbox(lines=20, label="Generated Instruction-Response Pairs"),
|
92 |
additional_inputs=[
|
93 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|