Spaces:
Sleeping
Sleeping
Update all
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ from seminar_edition_ai import upload_file_ex, predictContemplando, predictProcl
|
|
| 6 |
|
| 7 |
HISTORY_ANSWER = ''
|
| 8 |
|
| 9 |
-
def activeSermonGuideZone(
|
| 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:
|
|
@@ -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 |
)
|
|
|
|
| 6 |
|
| 7 |
HISTORY_ANSWER = ''
|
| 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:
|
|
|
|
| 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 |
)
|