Spaces:
Sleeping
Sleeping
Craig Pretzinger
commited on
Commit
•
4d2f914
1
Parent(s):
f2afd8d
Committed local changes to app.py
Browse files- .gitignore +1 -0
- __init__.py +0 -0
- app.py +1 -1
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
venv/
|
__init__.py
ADDED
File without changes
|
app.py
CHANGED
@@ -123,7 +123,7 @@ def respond(
|
|
123 |
demo = gr.ChatInterface(
|
124 |
respond,
|
125 |
additional_inputs=[
|
126 |
-
gr.Textbox(value="You are
|
127 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
128 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
129 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|
|
|
123 |
demo = gr.ChatInterface(
|
124 |
respond,
|
125 |
additional_inputs=[
|
126 |
+
gr.Textbox(value="You are Ferris2.0, an FDA expert.", label="System message"),
|
127 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
128 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
129 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|