Spaces:
Sleeping
Sleeping
Update all
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ HISTORY_ANSWER = ''
|
|
8 |
|
9 |
def activeSermonGuideZone(KEY):
|
10 |
#print("Button show " + buttonEvent.label)
|
11 |
-
return {text_button: gr.update (interactive = True), question_option: [
|
12 |
|
13 |
def showMessage(questionAnswer, KEY):
|
14 |
if questionAnswer == None or questionAnswer == '' or len(questionAnswer) <= 7:
|
@@ -21,7 +21,7 @@ with gr.Blocks() as demo:
|
|
21 |
with gr.Tab("Preparando mi Serm贸n"):
|
22 |
text_input = gr.Textbox(label="T贸pico del serm贸n")
|
23 |
|
24 |
-
with gr.Accordion("Contemplando y Proclamando", open=False):
|
25 |
checkButton = gr.Checkbox(
|
26 |
value=False,
|
27 |
label="Mantener historial"
|
@@ -256,7 +256,7 @@ with gr.Blocks() as demo:
|
|
256 |
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10)
|
257 |
|
258 |
inbtwContemplandoOne.click(
|
259 |
-
fn =
|
260 |
inputs = inbtwContemplandoOne,
|
261 |
outputs = [text_button, question_option]
|
262 |
)
|
|
|
8 |
|
9 |
def activeSermonGuideZone(KEY):
|
10 |
#print("Button show " + buttonEvent.label)
|
11 |
+
return {text_button: gr.update (interactive = True), question_option: [KEY]}
|
12 |
|
13 |
def showMessage(questionAnswer, KEY):
|
14 |
if questionAnswer == None or questionAnswer == '' or len(questionAnswer) <= 7:
|
|
|
21 |
with gr.Tab("Preparando mi Serm贸n"):
|
22 |
text_input = gr.Textbox(label="T贸pico del serm贸n")
|
23 |
|
24 |
+
with gr.Accordion("Contemplando y Proclamando", open = False):
|
25 |
checkButton = gr.Checkbox(
|
26 |
value=False,
|
27 |
label="Mantener historial"
|
|
|
256 |
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10)
|
257 |
|
258 |
inbtwContemplandoOne.click(
|
259 |
+
fn = lambda x: activeSermonGuideZone('DEVOCIONALMENTE'),
|
260 |
inputs = inbtwContemplandoOne,
|
261 |
outputs = [text_button, question_option]
|
262 |
)
|