Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -466,7 +466,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
466 |
label="Max History Tokens",
|
467 |
)
|
468 |
repetition_penalty=gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Strafe für wiederholte Tokens", visible=True)
|
469 |
-
anzahl_docs = gr.Slider(label="Anzahl Dokumente", value=3, minimum=1, maximum=10, step=1, interactive=True, info="wie viele Dokumententeile aus dem Vektorstore an den prompt gehängt werden", visible=True)
|
470 |
|
471 |
gr.Markdown(description)
|
472 |
|
@@ -479,7 +479,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
479 |
#history,
|
480 |
rag_option,
|
481 |
model_option,
|
482 |
-
|
483 |
top_p,
|
484 |
temperature,
|
485 |
max_length_tokens,
|
|
|
466 |
label="Max History Tokens",
|
467 |
)
|
468 |
repetition_penalty=gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Strafe für wiederholte Tokens", visible=True)
|
469 |
+
anzahl_docs = gr.Slider(label="Anzahl Dokumente", value=3, minimum=1, maximum=10, step=1, interactive=True, info="wie viele Dokumententeile aus dem Vektorstore an den prompt gehängt werden", visible=True)
|
470 |
|
471 |
gr.Markdown(description)
|
472 |
|
|
|
479 |
#history,
|
480 |
rag_option,
|
481 |
model_option,
|
482 |
+
anzahl_docs,
|
483 |
top_p,
|
484 |
temperature,
|
485 |
max_length_tokens,
|