Update app.py
Browse files
app.py
CHANGED
@@ -356,7 +356,7 @@ def vote(data: gr.LikeData):
|
|
356 |
additional_inputs = [
|
357 |
#gr.Radio(["Off", "Chroma", "MongoDB"], label="Retrieval Augmented Generation", value = "Off"),
|
358 |
gr.Radio(["Aus", "An"], label="RAG - LI Erweiterungen", value = "Aus"),
|
359 |
-
gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "
|
360 |
gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
|
361 |
gr.Slider(label="Temperature", value=0.9, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=False),
|
362 |
gr.Slider(label="Max new tokens", value=256, minimum=0, maximum=4096, step=64, interactive=True, info="Maximale Anzahl neuer Tokens", visible=False),
|
|
|
356 |
additional_inputs = [
|
357 |
#gr.Radio(["Off", "Chroma", "MongoDB"], label="Retrieval Augmented Generation", value = "Off"),
|
358 |
gr.Radio(["Aus", "An"], label="RAG - LI Erweiterungen", value = "Aus"),
|
359 |
+
gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "HuggingFace"),
|
360 |
gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
|
361 |
gr.Slider(label="Temperature", value=0.9, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=False),
|
362 |
gr.Slider(label="Max new tokens", value=256, minimum=0, maximum=4096, step=64, interactive=True, info="Maximale Anzahl neuer Tokens", visible=False),
|