manthilaffs commited on
Commit
6285581
·
verified ·
1 Parent(s): 4a2293a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -91,13 +91,13 @@ with gr.Blocks(
91
  )
92
 
93
  with gr.Accordion("⚙️ Advanced Options", open=False):
94
- temperature = gr.Slider(0.1, 1.5, value=0.5, step=0.05, label="🌡 Temperature (0 = more focused)")
95
- top_p = gr.Slider(0.1, 1.0, value=0.95, step=0.01, label="🎯 Top-p (Nucleus Sampling)")
96
- repetition_penalty = gr.Slider(0.8, 2.0, value=1.05, step=0.05, label="♻️ Repetition Penalty")
97
  max_new_tokens = gr.Slider(32, 1024, value=256, step=32, label="🔢 Max New Tokens")
98
 
99
- run_btn = gr.Button("🔮 Generate Response", variant="primary", scale=1)
100
- status = gr.Markdown("", elem_id="status-text")
101
 
102
  with gr.Column(scale=1, min_width=400):
103
  output = gr.Markdown(label="🧩 Gamunu Response", elem_id="output-box")
 
91
  )
92
 
93
  with gr.Accordion("⚙️ Advanced Options", open=False):
94
+ # temperature = gr.Slider(0.1, 1.5, value=0.5, step=0.05, label="🌡 Temperature (0 = more focused)")
95
+ # top_p = gr.Slider(0.1, 1.0, value=0.95, step=0.01, label="🎯 Top-p (Nucleus Sampling)")
96
+ # repetition_penalty = gr.Slider(0.8, 2.0, value=1.05, step=0.05, label="♻️ Repetition Penalty")
97
  max_new_tokens = gr.Slider(32, 1024, value=256, step=32, label="🔢 Max New Tokens")
98
 
99
+ run_btn = gr.Button("Generate Response", variant="primary", scale=1)
100
+ # status = gr.Markdown("", elem_id="status-text")
101
 
102
  with gr.Column(scale=1, min_width=400):
103
  output = gr.Markdown(label="🧩 Gamunu Response", elem_id="output-box")