Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -465,8 +465,8 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 465 |
predict_args = dict(
|
| 466 |
fn=generate,
|
| 467 |
inputs=[
|
| 468 |
-
user_input,
|
| 469 |
chatbot,
|
|
|
|
| 470 |
#history,
|
| 471 |
rag_option,
|
| 472 |
model_option,
|
|
@@ -475,6 +475,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 475 |
temperature,
|
| 476 |
max_length_tokens,
|
| 477 |
max_context_length_tokens,
|
|
|
|
| 478 |
],
|
| 479 |
outputs=[ chatbot, status_display], #[ chatbot, history, status_display],
|
| 480 |
show_progress=True,
|
|
|
|
| 465 |
predict_args = dict(
|
| 466 |
fn=generate,
|
| 467 |
inputs=[
|
|
|
|
| 468 |
chatbot,
|
| 469 |
+
user_input,
|
| 470 |
#history,
|
| 471 |
rag_option,
|
| 472 |
model_option,
|
|
|
|
| 475 |
temperature,
|
| 476 |
max_length_tokens,
|
| 477 |
max_context_length_tokens,
|
| 478 |
+
repetition_penalty
|
| 479 |
],
|
| 480 |
outputs=[ chatbot, status_display], #[ chatbot, history, status_display],
|
| 481 |
show_progress=True,
|