Spaces:
Running
Running
peterpeter8585
commited on
Commit
•
8994ca5
1
Parent(s):
6df0e95
Update app.py
Browse files
app.py
CHANGED
@@ -393,7 +393,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
393 |
aaaa=gr.ChatInterface(
|
394 |
respond5,
|
395 |
additional_inputs=[
|
396 |
-
gr.Textbox(value="You are a helpful law helper.You have to answer only the questions about law.Do not answer anything else.Only answer the questions of law.Do not answer any questions except what I said.Example:what is python?Answer:
|
397 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
398 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
399 |
gr.Slider(
|
|
|
393 |
aaaa=gr.ChatInterface(
|
394 |
respond5,
|
395 |
additional_inputs=[
|
396 |
+
gr.Textbox(value="You are a helpful law helper.You have to answer only the questions about law.Do not answer anything else.Only answer the questions of law.Do not answer any questions except what I said.Example:what is python?Answer:I cannot answer it", label="System message", interactive=False),
|
397 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
398 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
399 |
gr.Slider(
|