Spaces:
Paused
Paused
update app
Browse files
app.py
CHANGED
@@ -24,16 +24,11 @@ def chat_with_mistral(user_input):
|
|
24 |
|
25 |
app = gr.Interface(
|
26 |
fn=chat_with_mistral,
|
27 |
-
|
28 |
-
|
29 |
title=title,
|
30 |
description=description,
|
31 |
-
|
32 |
-
examples=examples,
|
33 |
-
cache_examples=True,
|
34 |
-
retry_btn=None,
|
35 |
-
undo_btn="Annuler",
|
36 |
-
clear_btn="Effacer",
|
37 |
)
|
38 |
|
39 |
if __name__ == "__main__":
|
|
|
24 |
|
25 |
app = gr.Interface(
|
26 |
fn=chat_with_mistral,
|
27 |
+
inputs=gr.inputs.Textbox(lines=2, placeholder=placeholder),
|
28 |
+
outputs="text",
|
29 |
title=title,
|
30 |
description=description,
|
31 |
+
examples=examples
|
|
|
|
|
|
|
|
|
|
|
32 |
)
|
33 |
|
34 |
if __name__ == "__main__":
|