paulcalzada commited on
Commit
c8109c5
·
1 Parent(s): a37e8ba

modify so clear does not remove things and made text better

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
72
  elem_id="spec-input"
73
  )
74
  with gr.Row():
75
- use_rag = gr.Checkbox(value=True, label="Use Retrieval (RAG)")
76
  top_k = gr.Slider(1, 5, value=3, step=1, label="Top-K retrieved examples")
77
 
78
  # --- Generation settings as text boxes ---
@@ -104,7 +104,7 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
104
  with gr.Row():
105
  clear_btn = gr.ClearButton(
106
  value="Clear All",
107
- components=[spec, out_code, temperature_tb, top_p_tb, max_new_tokens_tb]
108
  )
109
 
110
  # --- Wrapper function to handle output from the generation agent ---
 
72
  elem_id="spec-input"
73
  )
74
  with gr.Row():
75
+ use_rag = gr.Checkbox(value=True, label="Use RAG")
76
  top_k = gr.Slider(1, 5, value=3, step=1, label="Top-K retrieved examples")
77
 
78
  # --- Generation settings as text boxes ---
 
104
  with gr.Row():
105
  clear_btn = gr.ClearButton(
106
  value="Clear All",
107
+ components=[spec, out_code]
108
  )
109
 
110
  # --- Wrapper function to handle output from the generation agent ---