euIaxs22 commited on
Commit
70c3e5d
·
verified ·
1 Parent(s): 13e0d30

Update app_ltx.py

Browse files
Files changed (1) hide show
  1. app_ltx.py +2 -2
app_ltx.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import torch
3
- import spaces
4
  import numpy as np
5
  import random
6
  import os
@@ -108,7 +108,7 @@ def round_to_nearest_resolution(height, width):
108
  width = width - (width % ratio)
109
  return int(height), int(width)
110
 
111
- @spaces.GPU
112
  def generate(
113
  prompt: str,
114
  image_input: Optional[str],
 
1
  import gradio as gr
2
  import torch
3
+
4
  import numpy as np
5
  import random
6
  import os
 
108
  width = width - (width % ratio)
109
  return int(height), int(width)
110
 
111
+
112
  def generate(
113
  prompt: str,
114
  image_input: Optional[str],