Update app.py
Browse files
app.py
CHANGED
|
@@ -666,13 +666,6 @@ def custom_css():
|
|
| 666 |
background-color: #303030; /* Dunkler Hintergrund */
|
| 667 |
color:#353535;
|
| 668 |
}
|
| 669 |
-
.gr-textbox label {
|
| 670 |
-
display: none; /* Versteckt das Label vollständig */
|
| 671 |
-
}
|
| 672 |
-
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
| 673 |
-
color: red; /* Platzhalterfarbe, anpassen nach Bedarf */
|
| 674 |
-
opacity: 1; /* Stellt sicher, dass der Platzhalter gut sichtbar ist */
|
| 675 |
-
}
|
| 676 |
"""
|
| 677 |
|
| 678 |
|
|
@@ -735,7 +728,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 735 |
gr.Markdown(description_top)
|
| 736 |
with gr.Tab("KKG Chatbot"):
|
| 737 |
with gr.Row():
|
| 738 |
-
user_input_validate =
|
| 739 |
validate_btn = gr.Button("Validieren", visible = True)
|
| 740 |
#validation_result = gr.Text(label="Validierungsergebnis")
|
| 741 |
|
|
|
|
| 666 |
background-color: #303030; /* Dunkler Hintergrund */
|
| 667 |
color:#353535;
|
| 668 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 669 |
"""
|
| 670 |
|
| 671 |
|
|
|
|
| 728 |
gr.Markdown(description_top)
|
| 729 |
with gr.Tab("KKG Chatbot"):
|
| 730 |
with gr.Row():
|
| 731 |
+
user_input_validate =gr.Textbox(label = "Bitte das oben im Moodle Kurs angegebene Wort eingeben, um die Anwendung zu starten", visible=True, scale= 5)
|
| 732 |
validate_btn = gr.Button("Validieren", visible = True)
|
| 733 |
#validation_result = gr.Text(label="Validierungsergebnis")
|
| 734 |
|