Spaces:
Sleeping
Sleeping
Commit
·
19449a2
1
Parent(s):
34183cc
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,6 @@ app.add_middleware(
|
|
22 |
allow_headers=["*"],
|
23 |
)
|
24 |
|
25 |
-
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
26 |
-
# True
|
27 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
28 |
-
|
29 |
# Define the Google Books API key
|
30 |
key = os.environ.get("GOOGLE_BOOKS_API_KEY")
|
31 |
|
|
|
22 |
allow_headers=["*"],
|
23 |
)
|
24 |
|
|
|
|
|
|
|
|
|
25 |
# Define the Google Books API key
|
26 |
key = os.environ.get("GOOGLE_BOOKS_API_KEY")
|
27 |
|