Thiloid commited on
Commit
871d821
·
verified ·
1 Parent(s): 8b7b719

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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
- ).launch(share=True)
 
 
 
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