Update app.py
Browse files
app.py
CHANGED
@@ -127,12 +127,15 @@ with gr.Blocks() as demo:
|
|
127 |
dropdown = gr.Dropdown(choices=dropdown_options, label="Choose an option")
|
128 |
textbox = gr.Textbox(label="Your Question")
|
129 |
|
130 |
-
gr.Interface(
|
131 |
fn=response,
|
132 |
inputs=[textbox, chatbot, dropdown],
|
133 |
outputs=chatbot,
|
134 |
title="Avah (Artificial Voting Advice Helper)"
|
135 |
-
)
|
|
|
|
|
|
|
136 |
|
137 |
print("Interface up and running!")
|
138 |
|
|
|
127 |
dropdown = gr.Dropdown(choices=dropdown_options, label="Choose an option")
|
128 |
textbox = gr.Textbox(label="Your Question")
|
129 |
|
130 |
+
demo = gr.Interface(
|
131 |
fn=response,
|
132 |
inputs=[textbox, chatbot, dropdown],
|
133 |
outputs=chatbot,
|
134 |
title="Avah (Artificial Voting Advice Helper)"
|
135 |
+
)
|
136 |
+
|
137 |
+
demo.launch(share=True)
|
138 |
+
|
139 |
|
140 |
print("Interface up and running!")
|
141 |
|