alexkueck commited on
Commit
85c24c3
1 Parent(s): 524f013

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -447,16 +447,23 @@ def validate_input(user_input_validate, validate=False):
447
  return "Richtig! Weiter gehts... ", True, gr.Textbox(visible=False), gr.Button(visible=False)
448
  else:
449
  return "Falsche Antwort!!!!!!!!!", False, gr.Textbox(label = "", placeholder="Bitte tippen Sie das oben im Moodle Kurs angegebene Wort ein, um zu beweisen, dass Sie kein Bot sind.", visible=True, scale= 5), gr.Button("Validieren", visible = True)
450
-
451
-
 
 
 
 
 
 
 
452
 
453
  #############################################################################################
454
  # Start Gui Vorabfrage
455
  # Validierungs-Interface - Bots weghalten...
456
  #################################################################################################
457
  print ("Start GUI Hauptanwendung")
458
- with open("custom.css", "r", encoding="utf-8") as f:
459
- customCSS = f.read()
460
 
461
  #Add Inputs für Tab 2
462
  additional_inputs = [
 
447
  return "Richtig! Weiter gehts... ", True, gr.Textbox(visible=False), gr.Button(visible=False)
448
  else:
449
  return "Falsche Antwort!!!!!!!!!", False, gr.Textbox(label = "", placeholder="Bitte tippen Sie das oben im Moodle Kurs angegebene Wort ein, um zu beweisen, dass Sie kein Bot sind.", visible=True, scale= 5), gr.Button("Validieren", visible = True)
450
+ """
451
+ def custom_css():
452
+ return
453
+ #status_system_update {
454
+ color: red !important;
455
+ text-align: center;
456
+ font-size: 20px;
457
+ }
458
+ """
459
 
460
  #############################################################################################
461
  # Start Gui Vorabfrage
462
  # Validierungs-Interface - Bots weghalten...
463
  #################################################################################################
464
  print ("Start GUI Hauptanwendung")
465
+ #with open("custom.css", "r", encoding="utf-8") as f:
466
+ #customCSS = f.read()
467
 
468
  #Add Inputs für Tab 2
469
  additional_inputs = [