Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -148,18 +148,18 @@ def respond(
|
|
148 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
149 |
"""
|
150 |
demo = gr.ChatInterface(
|
151 |
-
respond
|
152 |
-
additional_inputs=[
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
],
|
163 |
)
|
164 |
|
165 |
if __name__ == "__main__":
|
|
|
148 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
149 |
"""
|
150 |
demo = gr.ChatInterface(
|
151 |
+
respond
|
152 |
+
# additional_inputs=[
|
153 |
+
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
154 |
+
# gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
155 |
+
# gr.Slider(
|
156 |
+
# minimum=0.1,
|
157 |
+
# maximum=1.0,
|
158 |
+
# value=0.95,
|
159 |
+
# step=0.05,
|
160 |
+
# label="Top-p (nucleus sampling)",
|
161 |
+
# ),
|
162 |
+
# ],
|
163 |
)
|
164 |
|
165 |
if __name__ == "__main__":
|