Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ with gr.Blocks(theme=gr.themes.Glass(), css=".gradio-container {max-width: 1280p
|
|
| 83 |
# --- KEY CHANGE 3: Add the new Gradio input component ---
|
| 84 |
patched_layer_number_input = gr.Number(
|
| 85 |
label="Patched Layer Number (patched_layer_number)",
|
| 86 |
-
value=
|
| 87 |
precision=0, # This ensures the input is an integer
|
| 88 |
info="Specify the target layer number for patching."
|
| 89 |
)
|
|
|
|
| 83 |
# --- KEY CHANGE 3: Add the new Gradio input component ---
|
| 84 |
patched_layer_number_input = gr.Number(
|
| 85 |
label="Patched Layer Number (patched_layer_number)",
|
| 86 |
+
value=3, # Set a reasonable default value
|
| 87 |
precision=0, # This ensures the input is an integer
|
| 88 |
info="Specify the target layer number for patching."
|
| 89 |
)
|