HanningChen commited on
Commit
a80f35b
·
1 Parent(s): 02bed5c
Files changed (1) hide show
  1. webui/app.py +4 -1
webui/app.py CHANGED
@@ -203,9 +203,12 @@ async def api_run(
203
  score_function: str = Form(DEFAULT_SCORE_FUNC),
204
  hdv_dim: int = Form(DEFAULT_HDV),
205
  viz_mode: str = Form("bbox"),
 
206
  noise_type: str = Form("none"),
207
  noise_strength: int = Form(0),
208
- upload: UploadFile = File(...),
 
 
209
  hdc_bits: int = Form(32),
210
  ):
211
  # validate + pick decoder
 
203
  score_function: str = Form(DEFAULT_SCORE_FUNC),
204
  hdv_dim: int = Form(DEFAULT_HDV),
205
  viz_mode: str = Form("bbox"),
206
+ upload: UploadFile = File(...),
207
  noise_type: str = Form("none"),
208
  noise_strength: int = Form(0),
209
+ hw_noise_dist: str = Form("none"),
210
+ hw_noise_width: int = Form(0),
211
+ hw_noise_strength: int = Form(0),
212
  hdc_bits: int = Form(32),
213
  ):
214
  # validate + pick decoder