Spaces:
Sleeping
Sleeping
peterpeter8585
commited on
Commit
•
5fb1bd4
1
Parent(s):
c8585fb
Update app.py
Browse files
app.py
CHANGED
@@ -374,7 +374,7 @@ ad=gr.ChatInterface(
|
|
374 |
),
|
375 |
],
|
376 |
)
|
377 |
-
ae
|
378 |
respond4,
|
379 |
additional_inputs=[
|
380 |
gr.Textbox(value="You are a helpful food recommender.You must only answer the questions about food or a request to recommend a food the user would like.Do not answer other questions except what I said.", label="System message", interactive=False),
|
@@ -387,7 +387,7 @@ ae = gr.ChatInterface(
|
|
387 |
step=0.05,
|
388 |
label="Top-p (nucleus sampling)",
|
389 |
),
|
390 |
-
|
391 |
],
|
392 |
)
|
393 |
aa=gr.ChatInterface(
|
@@ -403,7 +403,7 @@ aa=gr.ChatInterface(
|
|
403 |
step=0.05,
|
404 |
label="Top-p (nucleus sampling)",
|
405 |
),
|
406 |
-
|
407 |
],
|
408 |
)
|
409 |
ac=gr.ChatInterface(
|
|
|
374 |
),
|
375 |
],
|
376 |
)
|
377 |
+
ae= gr.ChatInterface(
|
378 |
respond4,
|
379 |
additional_inputs=[
|
380 |
gr.Textbox(value="You are a helpful food recommender.You must only answer the questions about food or a request to recommend a food the user would like.Do not answer other questions except what I said.", label="System message", interactive=False),
|
|
|
387 |
step=0.05,
|
388 |
label="Top-p (nucleus sampling)",
|
389 |
),
|
390 |
+
|
391 |
],
|
392 |
)
|
393 |
aa=gr.ChatInterface(
|
|
|
403 |
step=0.05,
|
404 |
label="Top-p (nucleus sampling)",
|
405 |
),
|
406 |
+
gr.Textbox(label="Pleas type in the password.Or, it will not work if you ask.")
|
407 |
],
|
408 |
)
|
409 |
ac=gr.ChatInterface(
|