Update app.py
Browse files
app.py
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
|
| 3 |
import sys
|
| 4 |
|
| 5 |
-
import gradio as gr
|
| 6 |
import spaces
|
|
|
|
| 7 |
import torch
|
| 8 |
|
| 9 |
|
| 10 |
-
@spaces.
|
| 11 |
def check_gpu() -> str:
|
| 12 |
"""Run a small CUDA test inside a ZeroGPU allocation."""
|
| 13 |
print(
|
|
|
|
| 2 |
|
| 3 |
import sys
|
| 4 |
|
|
|
|
| 5 |
import spaces
|
| 6 |
+
import gradio as gr
|
| 7 |
import torch
|
| 8 |
|
| 9 |
|
| 10 |
+
@spaces.GPU
|
| 11 |
def check_gpu() -> str:
|
| 12 |
"""Run a small CUDA test inside a ZeroGPU allocation."""
|
| 13 |
print(
|