Spaces:
Sleeping
Sleeping
prithivMLmods
commited on
Commit
β’
ad0387f
1
Parent(s):
9b3079c
Update app.py
Browse files
app.py
CHANGED
@@ -130,8 +130,8 @@ demo = gr.Interface(
|
|
130 |
gr.Textbox(value="", label="Type a message..", lines=5),
|
131 |
gr.State([]), # Initialize state as an empty list
|
132 |
gr.Textbox(value="", label="System message", visible=False),
|
133 |
-
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"
|
134 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"
|
135 |
gr.Slider(
|
136 |
minimum=0.1,
|
137 |
maximum=1.0,
|
@@ -142,6 +142,7 @@ demo = gr.Interface(
|
|
142 |
gr.Dropdown(
|
143 |
choices=["txt", "docx", "pdf"],
|
144 |
label="Save as",
|
|
|
145 |
),
|
146 |
],
|
147 |
outputs=[gr.File(label="Download Chat History"), gr.State()],
|
|
|
130 |
gr.Textbox(value="", label="Type a message..", lines=5),
|
131 |
gr.State([]), # Initialize state as an empty list
|
132 |
gr.Textbox(value="", label="System message", visible=False),
|
133 |
+
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
134 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
135 |
gr.Slider(
|
136 |
minimum=0.1,
|
137 |
maximum=1.0,
|
|
|
142 |
gr.Dropdown(
|
143 |
choices=["txt", "docx", "pdf"],
|
144 |
label="Save as",
|
145 |
+
value="pdf",
|
146 |
),
|
147 |
],
|
148 |
outputs=[gr.File(label="Download Chat History"), gr.State()],
|