inoid commited on
Commit
85e8973
1 Parent(s): 2bc433a

Add the AI assistan in Sermon creation with the Proclamando and Contemplando help

Browse files
Files changed (1) hide show
  1. app.py +24 -1
app.py CHANGED
@@ -206,11 +206,34 @@ with gr.Blocks() as demo:
206
  [file_input_devotions, text_output_devotions]
207
  )
208
  with gr.Tab("Contemplando y Proclamando (Gu铆a de preguntas)"):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  with gr.Row():
210
  with gr.Column():
211
  #Answer for Contemplando y Proclamando questions
 
 
212
  text_output_guia = gr.Textbox(label="Respuesta", lines=10)
213
- with gr.Column():
 
 
214
  #Button for calling AI Help
215
  text_button = gr.Button("Buscar m谩s informaci贸n (IA)")
216
  with gr.Column():
 
206
  [file_input_devotions, text_output_devotions]
207
  )
208
  with gr.Tab("Contemplando y Proclamando (Gu铆a de preguntas)"):
209
+ with gr.Accordion("Contemplando y Proclamando", open=False):
210
+ checkButton = gr.Checkbox(
211
+ value=False,
212
+ label="Mantener historial"
213
+ )
214
+ with gr.Row():
215
+ with gr.Tab("Contemplando"):
216
+ inbtwContemplando = gr.Button(f"Devocionalmente: {contemplandoQuestion['DEVOCIONALMENTE']}")
217
+ inbtwContemplandoOne = gr.Button(f"Ex茅gesis: {contemplandoQuestion['EX脡GESIS']}")
218
+ inbtwContemplandoTwo = gr.Button(f"Cristo: {contemplandoQuestion['CRISTO']}")
219
+ inbtwContemplandoTree = gr.Button(f"Arco Redentor: {contemplandoQuestion['ARCO REDENTOR']}")
220
+ inbtwContemplandoFour = gr.Button(f"Evangeli贸n: {contemplandoQuestion['EVANGELION']}")
221
+ inbtwContemplandoFourOne = gr.Button(f"Evangeli贸n: {contemplandoQuestion['EVANGELION_TWO']}")
222
+
223
+ with gr.Tab("Proclamando"):
224
+ inbtwProclamando = gr.Button(f"P煤blico: {proclamandoQuestion['P脷BLICO']}")
225
+ inbtwProclamandoOne = gr.Button(f"Historia: {proclamandoQuestion['HISTORIA']}")
226
+ inbtwProclamandoTwo = gr.Button(f"Expectativas: {proclamandoQuestion['EXPECTATIVAS']}")
227
+ inbtwProclamandoTwoTwo = gr.Button(f"Expectativas: {proclamandoQuestion['EXPECTATIVAS_TWO']}")
228
  with gr.Row():
229
  with gr.Column():
230
  #Answer for Contemplando y Proclamando questions
231
+ text1 = gr.Textbox( visible = False )
232
+
233
  text_output_guia = gr.Textbox(label="Respuesta", lines=10)
234
+
235
+ text2 = gr.Textbox( visible = False )
236
+ with gr.Column(scale = 3):
237
  #Button for calling AI Help
238
  text_button = gr.Button("Buscar m谩s informaci贸n (IA)")
239
  with gr.Column():