Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -731,10 +731,10 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
731 |
gr.Markdown(description_top)
|
732 |
with gr.Tab("KKG Chatbot"):
|
733 |
with gr.Row():
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
|
739 |
with gr.Row(visible=state):
|
740 |
#gr.HTML("LI Chatot")
|
|
|
731 |
gr.Markdown(description_top)
|
732 |
with gr.Tab("KKG Chatbot"):
|
733 |
with gr.Row():
|
734 |
+
user_input = gr.Textbox(label="Bitte tippen Sie das oben im Moodle Kurs angegebene Wort ein, um zu beweisen, dass Sie kein Bot sind.")
|
735 |
+
validate_btn = gr.Button("Überprüfen")
|
736 |
+
validation_result = gr.Text(label="Validierungsergebnis")
|
737 |
+
state = gr.State(visible=False) # Zustand zur Steuerung der Sichtbarkeit der Hauptanwendung
|
738 |
|
739 |
with gr.Row(visible=state):
|
740 |
#gr.HTML("LI Chatot")
|