jhj0517 commited on
Commit
80de2f9
·
1 Parent(s): 0e976e4

Hide animal model selection for incompetent implementation for it

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class App:
22
  @staticmethod
23
  def create_parameters():
24
  return [
25
- gr.Dropdown(label=_("Model Type"),
26
  choices=[item.value for item in ModelType], value=ModelType.HUMAN.value),
27
  gr.Slider(label=_("Rotate Pitch"), minimum=-20, maximum=20, step=0.5, value=0),
28
  gr.Slider(label=_("Rotate Yaw"), minimum=-20, maximum=20, step=0.5, value=0),
 
22
  @staticmethod
23
  def create_parameters():
24
  return [
25
+ gr.Dropdown(label=_("Model Type"), visible=False, interactive=False,
26
  choices=[item.value for item in ModelType], value=ModelType.HUMAN.value),
27
  gr.Slider(label=_("Rotate Pitch"), minimum=-20, maximum=20, step=0.5, value=0),
28
  gr.Slider(label=_("Rotate Yaw"), minimum=-20, maximum=20, step=0.5, value=0),