Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
477b2f3
1
Parent(s):
9e04c28
Actual removal
Browse files
app.py
CHANGED
|
@@ -123,7 +123,6 @@ with demo:
|
|
| 123 |
plus = gr.Button("Add model slot", elem_id="plus_button")
|
| 124 |
minus = gr.Button("Remove model slot", elem_id="minus_button")
|
| 125 |
config1_btn = gr.Button("Try Basic gpt Configuration")
|
| 126 |
-
#config2_btn = gr.Button("Try Falcon models Configuration")
|
| 127 |
plus.click(
|
| 128 |
fn=update_textboxes,
|
| 129 |
inputs=n_models_state,
|
|
@@ -142,14 +141,6 @@ with demo:
|
|
| 142 |
*model_inputs
|
| 143 |
]
|
| 144 |
)
|
| 145 |
-
"""config2_btn.click(
|
| 146 |
-
fn=apply_config2,
|
| 147 |
-
inputs=None,
|
| 148 |
-
outputs=[
|
| 149 |
-
n_models_state,
|
| 150 |
-
*model_inputs
|
| 151 |
-
]
|
| 152 |
-
)"""
|
| 153 |
with gr.Row():
|
| 154 |
threshold_choice = gr.Radio(choices=["default", "custom"], value="default", label="Threshold Choice")
|
| 155 |
custom_threshold = gr.Number(value=0.0, label="Custom Threshold (if 'custom' selected)")
|
|
|
|
| 123 |
plus = gr.Button("Add model slot", elem_id="plus_button")
|
| 124 |
minus = gr.Button("Remove model slot", elem_id="minus_button")
|
| 125 |
config1_btn = gr.Button("Try Basic gpt Configuration")
|
|
|
|
| 126 |
plus.click(
|
| 127 |
fn=update_textboxes,
|
| 128 |
inputs=n_models_state,
|
|
|
|
| 141 |
*model_inputs
|
| 142 |
]
|
| 143 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
with gr.Row():
|
| 145 |
threshold_choice = gr.Radio(choices=["default", "custom"], value="default", label="Threshold Choice")
|
| 146 |
custom_threshold = gr.Number(value=0.0, label="Custom Threshold (if 'custom' selected)")
|