Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -728,7 +728,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
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, interactive=True, scale= 7)
|
732 |
validate_btn = gr.Button("Validieren", visible = True)
|
733 |
#validation_result = gr.Text(label="Validierungsergebnis")
|
734 |
|
@@ -765,7 +765,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
765 |
with gr.Tab(label="Parameter"):
|
766 |
#gr.Markdown("# Parameters")
|
767 |
rag_option = gr.Radio(["Aus", "An"], label="KKG Erweiterungen (RAG)", value = "Aus")
|
768 |
-
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "
|
769 |
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus")
|
770 |
|
771 |
|
|
|
728 |
gr.Markdown(description_top)
|
729 |
with gr.Tab("KKG Chatbot"):
|
730 |
with gr.Row():
|
731 |
+
user_input_validate =gr.Textbox(label="", placeholder = "Bitte das oben im Moodle Kurs angegebene Wort eingeben, um die Anwendung zu starten", visible=True, interactive=True, scale= 7)
|
732 |
validate_btn = gr.Button("Validieren", visible = True)
|
733 |
#validation_result = gr.Text(label="Validierungsergebnis")
|
734 |
|
|
|
765 |
with gr.Tab(label="Parameter"):
|
766 |
#gr.Markdown("# Parameters")
|
767 |
rag_option = gr.Radio(["Aus", "An"], label="KKG Erweiterungen (RAG)", value = "Aus")
|
768 |
+
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "OpenAI")
|
769 |
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus")
|
770 |
|
771 |
|