Spaces:
Sleeping
Sleeping
Update all changes
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ HISTORY_ANSWER = ''
|
|
| 8 |
|
| 9 |
def activeSermonGuideZone(buttonEvent):
|
| 10 |
#print("Button show " + buttonEvent.label)
|
| 11 |
-
return gr.
|
| 12 |
|
| 13 |
|
| 14 |
|
|
@@ -236,7 +236,7 @@ with gr.Blocks() as demo:
|
|
| 236 |
#Answer for Contemplando y Proclamando questions
|
| 237 |
|
| 238 |
|
| 239 |
-
text_output_guia = gr.Textbox(label="Respuesta", lines = 10
|
| 240 |
|
| 241 |
|
| 242 |
with gr.Column(scale = 1, min_width = 200):
|
|
@@ -248,14 +248,16 @@ with gr.Blocks() as demo:
|
|
| 248 |
)
|
| 249 |
text2 = gr.Textbox(visible = False)
|
| 250 |
with gr.Column(scale = 2):
|
| 251 |
-
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10
|
| 252 |
|
| 253 |
inbtwContemplandoOne.click(
|
| 254 |
fn = activeSermonGuideZone,
|
| 255 |
inputs = inbtwContemplandoOne,
|
| 256 |
-
outputs = [
|
| 257 |
)
|
| 258 |
|
|
|
|
|
|
|
| 259 |
if __name__ == "__main__":
|
| 260 |
llmBuilder = GeminiLLM()
|
| 261 |
|
|
|
|
| 8 |
|
| 9 |
def activeSermonGuideZone(buttonEvent):
|
| 10 |
#print("Button show " + buttonEvent.label)
|
| 11 |
+
return gr.Button.update(interactive = True)
|
| 12 |
|
| 13 |
|
| 14 |
|
|
|
|
| 236 |
#Answer for Contemplando y Proclamando questions
|
| 237 |
|
| 238 |
|
| 239 |
+
text_output_guia = gr.Textbox(label="Respuesta", lines = 10)
|
| 240 |
|
| 241 |
|
| 242 |
with gr.Column(scale = 1, min_width = 200):
|
|
|
|
| 248 |
)
|
| 249 |
text2 = gr.Textbox(visible = False)
|
| 250 |
with gr.Column(scale = 2):
|
| 251 |
+
text_output_aiAnswer = gr.Textbox(label="Ayuda a mi respuesta", lines = 10)
|
| 252 |
|
| 253 |
inbtwContemplandoOne.click(
|
| 254 |
fn = activeSermonGuideZone,
|
| 255 |
inputs = inbtwContemplandoOne,
|
| 256 |
+
outputs = [text_button]
|
| 257 |
)
|
| 258 |
|
| 259 |
+
text_button.click(fn = lambda prm : gr.Error("IA Suppor not implement yet"))
|
| 260 |
+
|
| 261 |
if __name__ == "__main__":
|
| 262 |
llmBuilder = GeminiLLM()
|
| 263 |
|