OmPrakashSingh1704 commited on
Commit
eeb4c53
1 Parent(s): 556f3b8
options/Banner_Model/Image2Image.py CHANGED
@@ -38,7 +38,7 @@ def resize_image_dimensions(
38
  return new_width, new_height
39
 
40
 
41
- @spaces.GPU(duration=1)
42
  def I2I(
43
  input_image_editor: dict,
44
  input_text: str,
 
38
  return new_width, new_height
39
 
40
 
41
+ @spaces.GPU(duration=100)
42
  def I2I(
43
  input_image_editor: dict,
44
  input_text: str,
options/Banner_Model/Image2Image_2.py CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
7
  device= "cuda" if torch.cuda.is_available() else "cpu"
8
  print("Using device for I2I_2:", device)
9
 
10
- @spaces.GPU(duration=1)
11
  def I2I_2(image, prompt,size,num_inference_steps):
12
  processor = LineartDetector.from_pretrained("lllyasviel/Annotators")
13
 
 
7
  device= "cuda" if torch.cuda.is_available() else "cpu"
8
  print("Using device for I2I_2:", device)
9
 
10
+ @spaces.GPU(duration=100)
11
  def I2I_2(image, prompt,size,num_inference_steps):
12
  processor = LineartDetector.from_pretrained("lllyasviel/Annotators")
13
 
options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc differ
 
options/Video_model/Model.py CHANGED
@@ -18,7 +18,7 @@ def save_video(frames, save_path, fps, quality=9):
18
  writer.close()
19
 
20
  # Function to generate the video
21
- @spaces.GPU(duration=1)
22
  def Video(image):
23
 
24
 
 
18
  writer.close()
19
 
20
  # Function to generate the video
21
+ @spaces.GPU(duration=100)
22
  def Video(image):
23
 
24
 
options/Video_model/__pycache__/Model.cpython-310.pyc CHANGED
Binary files a/options/Video_model/__pycache__/Model.cpython-310.pyc and b/options/Video_model/__pycache__/Model.cpython-310.pyc differ