liuganghuggingface commited on
Commit
c9c9033
·
verified ·
1 Parent(s): 1f5a5fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,10 +90,10 @@ def test(n):
90
  print(n)
91
  # print('intest device', zero.device)
92
  # device = zero.device
93
- # print('1 ',torch.Tensor([1]).cuda())
94
  return 0
95
 
96
- test(n)
97
 
98
  @spaces.GPU
99
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):
 
90
  print(n)
91
  # print('intest device', zero.device)
92
  # device = zero.device
93
+ print('1 ',torch.Tensor([1]).cuda())
94
  return 0
95
 
96
+ test(1)
97
 
98
  @spaces.GPU
99
  def generate_graph(CH4, CO2, H2, N2, O2, guidance_scale, num_nodes, repeating_time, model_state, num_chain_steps, fps):