kfahn commited on
Commit
c131c56
1 Parent(s): 525f28b

Update app.py

Browse files

Add custom theme

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,10 +57,10 @@ def infer(prompts, negative_prompts, image):
57
  output_images = pipe.numpy_to_pil(np.asarray(output.reshape((num_samples,) + output.shape[-3:])))
58
  return output_images
59
 
60
- mytheme = gr.themes.Default(primary_hue="slate")
61
  #control_image = "https://huggingface.co/spaces/kfahn/Animal_Pose_Control_Net/blob/main/image_control.png"
62
 
63
- with gr.Blocks(css = ".gradio-container {background-color: slate}") as demo:
64
  gr.Markdown(
65
  """
66
  # Animal Pose Control Net
 
57
  output_images = pipe.numpy_to_pil(np.asarray(output.reshape((num_samples,) + output.shape[-3:])))
58
  return output_images
59
 
60
+
61
  #control_image = "https://huggingface.co/spaces/kfahn/Animal_Pose_Control_Net/blob/main/image_control.png"
62
 
63
+ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
64
  gr.Markdown(
65
  """
66
  # Animal Pose Control Net