Spaces:
Build error
Build error
fix inputs
Browse files- app_dialogue.py +8 -9
app_dialogue.py
CHANGED
|
@@ -487,6 +487,14 @@ with gr.Blocks(title="IDEFICS", theme=gr.themes.Base()) as demo:
|
|
| 487 |
textbox,
|
| 488 |
chatbot,
|
| 489 |
temperature,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 490 |
],
|
| 491 |
outputs=[textbox, chatbot],
|
| 492 |
)
|
|
@@ -508,15 +516,6 @@ with gr.Blocks(title="IDEFICS", theme=gr.themes.Base()) as demo:
|
|
| 508 |
outputs=[
|
| 509 |
textbox,
|
| 510 |
chatbot,
|
| 511 |
-
temperature,
|
| 512 |
-
no_repeat_ngram_size,
|
| 513 |
-
max_new_tokens,
|
| 514 |
-
min_length,
|
| 515 |
-
repetition_penalty,
|
| 516 |
-
length_penalty,
|
| 517 |
-
top_k,
|
| 518 |
-
top_p,
|
| 519 |
-
penalty_alpha,
|
| 520 |
],
|
| 521 |
)
|
| 522 |
|
|
|
|
| 487 |
textbox,
|
| 488 |
chatbot,
|
| 489 |
temperature,
|
| 490 |
+
no_repeat_ngram_size,
|
| 491 |
+
max_new_tokens,
|
| 492 |
+
min_length,
|
| 493 |
+
repetition_penalty,
|
| 494 |
+
length_penalty,
|
| 495 |
+
top_k,
|
| 496 |
+
top_p,
|
| 497 |
+
penalty_alpha,
|
| 498 |
],
|
| 499 |
outputs=[textbox, chatbot],
|
| 500 |
)
|
|
|
|
| 516 |
outputs=[
|
| 517 |
textbox,
|
| 518 |
chatbot,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 519 |
],
|
| 520 |
)
|
| 521 |
|