bharatcoder commited on
Commit
a8f4a29
·
verified ·
1 Parent(s): 3ef3818

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,9 +41,9 @@ end_time = time.time()
41
  print(f"Time taken for matrix multiplication with PyTorch: {end_time - start_time:.6f} seconds")
42
 
43
  @spaces.GPU
44
- def greet(n):
45
  print(zero.device) # <-- 'cuda:0' 🤗
46
- return f"Hello {zero + n} Tensor"
47
 
48
- demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
49
  demo.launch()
 
41
  print(f"Time taken for matrix multiplication with PyTorch: {end_time - start_time:.6f} seconds")
42
 
43
  @spaces.GPU
44
+ def zeroGPU_test(n):
45
  print(zero.device) # <-- 'cuda:0' 🤗
46
+
47
 
48
+ demo = gr.Interface()
49
  demo.launch()