CreitinGameplays commited on
Commit
5c753f8
·
verified ·
1 Parent(s): 334c746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ def generate(
32
  chat_history: list[tuple[str, str]],
33
  system_prompt: str = "You are a helpful AI assistant named ChatGPT.",
34
  max_new_tokens: int = 1024,
35
- temperature: float = 0.6,
36
  top_p: float = 0.9,
37
  top_k: int = 50,
38
  repetition_penalty: float = 1.2,
@@ -87,7 +87,7 @@ chat_interface = gr.ChatInterface(
87
  minimum=0.1,
88
  maximum=4.0,
89
  step=0.1,
90
- value=0.6,
91
  ),
92
  gr.Slider(
93
  label="Top-p (nucleus sampling)",
 
32
  chat_history: list[tuple[str, str]],
33
  system_prompt: str = "You are a helpful AI assistant named ChatGPT.",
34
  max_new_tokens: int = 1024,
35
+ temperature: float = 0.3,
36
  top_p: float = 0.9,
37
  top_k: int = 50,
38
  repetition_penalty: float = 1.2,
 
87
  minimum=0.1,
88
  maximum=4.0,
89
  step=0.1,
90
+ value=0.3,
91
  ),
92
  gr.Slider(
93
  label="Top-p (nucleus sampling)",