Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,8 @@ def respond(
|
|
| 38 |
|
| 39 |
|
| 40 |
demo = gr.ChatInterface(
|
| 41 |
-
theme=victorrauwcc/RCC,
|
| 42 |
respond,
|
|
|
|
| 43 |
additional_inputs=[
|
| 44 |
gr.Textbox(value="You are a helpful Chatbot created by FallnAI.", label="System message"),
|
| 45 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
@@ -50,9 +50,9 @@ demo = gr.ChatInterface(
|
|
| 50 |
value=0.95,
|
| 51 |
step=0.05,
|
| 52 |
label="Top-p (nucleus sampling)",
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
|
| 58 |
if __name__ == "__main__":
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
demo = gr.ChatInterface(
|
|
|
|
| 41 |
respond,
|
| 42 |
+
theme='victorrauwcc/RCC',
|
| 43 |
additional_inputs=[
|
| 44 |
gr.Textbox(value="You are a helpful Chatbot created by FallnAI.", label="System message"),
|
| 45 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 50 |
value=0.95,
|
| 51 |
step=0.05,
|
| 52 |
label="Top-p (nucleus sampling)",
|
| 53 |
+
),
|
| 54 |
+
],
|
| 55 |
+
)
|
| 56 |
|
| 57 |
|
| 58 |
if __name__ == "__main__":
|