yulu2 commited on
Commit
1c1f6e1
·
1 Parent(s): 13fb865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ title = "InstructCV"
21
 
22
  description = """
23
  <p style='text-align: center'> <a href='https://huggingface.co/spaces/yulu2/InstructCV/' target='_blank'>Project Page</a> | <a href='https://arxiv.org' target='_blank'>Paper</a> | <a href='https://github.com' target='_blank'>Code</a></p>
24
- Gradio demo for InstructCV: Towards Universal Text-to-Image Vision Generalists. \n
25
  You may upload any images you like and try to let the model do vision tasks following your intent. \n
26
  Some examples: You could use "Segment the dog" for segmentation, "Detect the dog" for object detection, "Estimate the depth map of this image" for depth estimation, etc.
27
  """ # noqa
@@ -135,7 +135,7 @@ def main():
135
  interactive=True,
136
  )
137
 
138
- seed = gr.Number(value=26000, precision=0, label="Seed", interactive=True)
139
  text_cfg_scale = gr.Number(value=7.5, label=f"Text weight", interactive=False)
140
  image_cfg_scale = gr.Number(value=1.5, label=f"Image weight", interactive=False)
141
 
 
21
 
22
  description = """
23
  <p style='text-align: center'> <a href='https://huggingface.co/spaces/yulu2/InstructCV/' target='_blank'>Project Page</a> | <a href='https://arxiv.org' target='_blank'>Paper</a> | <a href='https://github.com' target='_blank'>Code</a></p>
24
+ Gradio demo for InstructCV: Instruction-Tuned Text-to-Image Diffusion Models As Vision Generalists. \n
25
  You may upload any images you like and try to let the model do vision tasks following your intent. \n
26
  Some examples: You could use "Segment the dog" for segmentation, "Detect the dog" for object detection, "Estimate the depth map of this image" for depth estimation, etc.
27
  """ # noqa
 
135
  interactive=True,
136
  )
137
 
138
+ seed = gr.Number(value=67265, precision=0, label="Seed", interactive=True)
139
  text_cfg_scale = gr.Number(value=7.5, label=f"Text weight", interactive=False)
140
  image_cfg_scale = gr.Number(value=1.5, label=f"Image weight", interactive=False)
141