macadeliccc commited on
Commit
40457c5
1 Parent(s): 03cbe66

aiohttp tests

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import json
9
  import asyncio
10
 
11
  # Function to start the ochat server
12
- @spaces.GPU
13
  async def start_ochat_server():
14
  print(f"Is CUDA available: {torch.cuda.is_available()}")
15
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
 
9
  import asyncio
10
 
11
  # Function to start the ochat server
12
+ @asyncio.spaces.GPU
13
  async def start_ochat_server():
14
  print(f"Is CUDA available: {torch.cuda.is_available()}")
15
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")