Spaces:
Running
Running
SkyNetWalker
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ demo = gr.ChatInterface(
|
|
66 |
respond,
|
67 |
additional_inputs=[
|
68 |
gr.Textbox(value="", label="System message"),
|
69 |
-
gr.Slider(minimum=1, maximum=4096, value=
|
70 |
-
gr.Slider(minimum=0.1, maximum=
|
71 |
gr.Slider(
|
72 |
minimum=0.1,
|
73 |
maximum=1.0,
|
@@ -79,7 +79,7 @@ demo = gr.ChatInterface(
|
|
79 |
],
|
80 |
fill_height=True,
|
81 |
chatbot=chatbot,
|
82 |
-
theme="Nymbo/Nymbo_Theme",
|
83 |
)
|
84 |
print("Gradio interface initialized.")
|
85 |
|
|
|
66 |
respond,
|
67 |
additional_inputs=[
|
68 |
gr.Textbox(value="", label="System message"),
|
69 |
+
gr.Slider(minimum=1, maximum=4096, value=1024, step=1, label="Max new tokens"),
|
70 |
+
gr.Slider(minimum=0.1, maximum=1.0, value=0.3, step=0.1, label="Temperature"),
|
71 |
gr.Slider(
|
72 |
minimum=0.1,
|
73 |
maximum=1.0,
|
|
|
79 |
],
|
80 |
fill_height=True,
|
81 |
chatbot=chatbot,
|
82 |
+
#theme="Nymbo/Nymbo_Theme",
|
83 |
)
|
84 |
print("Gradio interface initialized.")
|
85 |
|