Spaces:
Sleeping
Sleeping
Update all changes
Browse files
app.py
CHANGED
@@ -255,12 +255,69 @@ with gr.Blocks() as demo:
|
|
255 |
with gr.Column(scale = 2):
|
256 |
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10)
|
257 |
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
inbtwContemplandoOne.click(
|
259 |
-
fn = lambda x: activeSermonGuideZone('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
inputs = inbtwContemplandoOne,
|
261 |
outputs = [text_button, question_option]
|
262 |
)
|
263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
text_button.click(fn = showMessage, inputs = [text_output_guia, question_option], outputs = text_output_aiAnswer)
|
265 |
|
266 |
if __name__ == "__main__":
|
|
|
255 |
with gr.Column(scale = 2):
|
256 |
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10)
|
257 |
|
258 |
+
inbtwContemplando.click(
|
259 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['DEVOCIONALMENTE']),
|
260 |
+
inputs = inbtwContemplandoOne,
|
261 |
+
outputs = [text_button, question_option]
|
262 |
+
)
|
263 |
+
|
264 |
inbtwContemplandoOne.click(
|
265 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['EXÉGESIS']),
|
266 |
+
inputs = inbtwContemplandoOne,
|
267 |
+
outputs = [text_button, question_option]
|
268 |
+
)
|
269 |
+
|
270 |
+
inbtwContemplandoTwo.click(
|
271 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['CRISTO']),
|
272 |
+
inputs = inbtwContemplandoOne,
|
273 |
+
outputs = [text_button, question_option]
|
274 |
+
)
|
275 |
+
|
276 |
+
inbtwContemplandoTree.click(
|
277 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['ARCO REDENTOR']),
|
278 |
+
inputs = inbtwContemplandoOne,
|
279 |
+
outputs = [text_button, question_option]
|
280 |
+
)
|
281 |
+
|
282 |
+
inbtwContemplandoFour.click(
|
283 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['EVANGELION']),
|
284 |
inputs = inbtwContemplandoOne,
|
285 |
outputs = [text_button, question_option]
|
286 |
)
|
287 |
|
288 |
+
inbtwContemplandoFourOne.click(
|
289 |
+
fn = lambda x: activeSermonGuideZone(contemplandoQuestion['EVANGELION_TWO']),
|
290 |
+
inputs = inbtwContemplandoOne,
|
291 |
+
outputs = [text_button, question_option]
|
292 |
+
)
|
293 |
+
|
294 |
+
#####---------------------------------------------------------------------------------------------------------
|
295 |
+
inbtwProclamando.click(
|
296 |
+
fn = lambda x: activeSermonGuideZone(proclamandoQuestion['PÚBLICO']),
|
297 |
+
inputs = inbtwContemplandoOne,
|
298 |
+
outputs = [text_button, question_option]
|
299 |
+
)
|
300 |
+
|
301 |
+
|
302 |
+
inbtwProclamandoOne.click(
|
303 |
+
fn = lambda x: activeSermonGuideZone(proclamandoQuestion['HISTORIA']),
|
304 |
+
inputs = inbtwContemplandoOne,
|
305 |
+
outputs = [text_button, question_option]
|
306 |
+
)
|
307 |
+
|
308 |
+
inbtwProclamandoTwo.click(
|
309 |
+
fn = lambda x: activeSermonGuideZone(proclamandoQuestion['EXPECTATIVAS']),
|
310 |
+
inputs = inbtwContemplandoOne,
|
311 |
+
outputs = [text_button, question_option]
|
312 |
+
)
|
313 |
+
|
314 |
+
inbtwProclamandoTwoTwo.click(
|
315 |
+
fn = lambda x: activeSermonGuideZone(proclamandoQuestion['EXPECTATIVAS_TWO']),
|
316 |
+
inputs = inbtwContemplandoOne,
|
317 |
+
outputs = [text_button, question_option]
|
318 |
+
)
|
319 |
+
|
320 |
+
|
321 |
text_button.click(fn = showMessage, inputs = [text_output_guia, question_option], outputs = text_output_aiAnswer)
|
322 |
|
323 |
if __name__ == "__main__":
|