Spaces:
Runtime error
Runtime error
Commit
•
6e26b23
1
Parent(s):
d9c560c
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def chat(message, npc_name, initial_prompt, top_p, temperature, max_new_tokens,
|
|
89 |
iface = gr.Interface(fn=chat,
|
90 |
inputs=[Textbox(label="message", placeholder="Hello!"),
|
91 |
Textbox(label="npc_name", placeholder="Antoine"),
|
92 |
-
Textbox(label="initial_prompt", "The following is a conversation with Antoine, a guard for Northfall that's drinking in the Tavern."),
|
93 |
Slider(minimum=0.5, maximum=1, step=0.05, default=0.9, label="top_p"),
|
94 |
Slider(minimum=0.5, maximum=1.5, step=0.1, default=1.1, label="temperature"),
|
95 |
Slider(minimum=20, maximum=250, step=10, default=50, label="max_new_tokens"),
|
89 |
iface = gr.Interface(fn=chat,
|
90 |
inputs=[Textbox(label="message", placeholder="Hello!"),
|
91 |
Textbox(label="npc_name", placeholder="Antoine"),
|
92 |
+
Textbox(label="initial_prompt", placeholder="The following is a conversation with Antoine, a guard for Northfall that's drinking in the Tavern."),
|
93 |
Slider(minimum=0.5, maximum=1, step=0.05, default=0.9, label="top_p"),
|
94 |
Slider(minimum=0.5, maximum=1.5, step=0.1, default=1.1, label="temperature"),
|
95 |
Slider(minimum=20, maximum=250, step=10, default=50, label="max_new_tokens"),
|