bharatcoder commited on
Commit
ddc83c9
·
verified ·
1 Parent(s): 63008d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
72
  # Chat settings
73
  system_prompt = gr.Textbox(value="You are a friendly and open-minded chatbot.", label="System Prompt (Optional)", lines=5)
74
  temperature = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Temperature")
75
- max_tokens = gr.Slider(minimum=10, maximum=8192, step=10, value=250, label="Max Tokens")
76
  top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.9, label="Top-p")
77
 
78
  # Chatbot interaction
 
72
  # Chat settings
73
  system_prompt = gr.Textbox(value="You are a friendly and open-minded chatbot.", label="System Prompt (Optional)", lines=5)
74
  temperature = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Temperature")
75
+ max_tokens = gr.Slider(minimum=10, maximum=8192, step=10, value=1024, label="Max Tokens")
76
  top_p = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.9, label="Top-p")
77
 
78
  # Chatbot interaction