Spaces:
Runtime error
Runtime error
martianband1t
commited on
Commit
•
686431d
1
Parent(s):
8335068
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ demo = gr.ChatInterface(
|
|
62 |
fn=respond,
|
63 |
css=css,
|
64 |
title="Voici notre Chatbot: Le Spéc'IA'liste du vrac",
|
65 |
-
|
66 |
additional_inputs=[
|
67 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
68 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
@@ -72,10 +72,10 @@ demo = gr.ChatInterface(
|
|
72 |
maximum=1.0,
|
73 |
value=0.95,
|
74 |
step=0.05,
|
75 |
-
label="Top-p (nucleus
|
76 |
-
)
|
77 |
-
]
|
78 |
-
)
|
79 |
|
80 |
if __name__ == "__main__":
|
81 |
demo.launch()
|
|
|
62 |
fn=respond,
|
63 |
css=css,
|
64 |
title="Voici notre Chatbot: Le Spéc'IA'liste du vrac",
|
65 |
+
exemple="Calcul moi ma facture si j'ai 12 pied par 35 pied de gravier 0-3/4 pour un epaisseur de 3 pouces en livraison zone 4"
|
66 |
additional_inputs=[
|
67 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
68 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
72 |
maximum=1.0,
|
73 |
value=0.95,
|
74 |
step=0.05,
|
75 |
+
label="Top-p (echantillons nucleus)",
|
76 |
+
)
|
77 |
+
]
|
78 |
+
)
|
79 |
|
80 |
if __name__ == "__main__":
|
81 |
demo.launch()
|