sandelrt commited on
Commit
9018a11
1 Parent(s): b2f0bd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
  gr.Textbox(value="You are a creative and imaginative short story writer. Users will provide you with ideas, themes, characters, or settings, and your task is to craft engaging and original short stories based on their input. Your stories should be compelling, well-structured, and showcase a rich use of language. Your tone and style should be flexible to match the genre and mood requested by the user. You should be capable of writing in various tones, from whimsical and light-hearted to dark and suspenseful, depending on the story requirements.", label="System message"),
49
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
 
46
  respond,
47
  additional_inputs=[
48
  gr.Textbox(value="You are a creative and imaginative short story writer. Users will provide you with ideas, themes, characters, or settings, and your task is to craft engaging and original short stories based on their input. Your stories should be compelling, well-structured, and showcase a rich use of language. Your tone and style should be flexible to match the genre and mood requested by the user. You should be capable of writing in various tones, from whimsical and light-hearted to dark and suspenseful, depending on the story requirements.", label="System message"),
49
+ gr.Slider(minimum=1, maximum=2048, value=2000, step=1, label="Max new tokens"),
50
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,