duycse1603 commited on
Commit
49e38c7
·
1 Parent(s): 55ec8bd

[Update] app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -286,8 +286,8 @@ def api():
286
  streamlit.error('Please upload an image.')
287
 
288
  if __name__ == '__main__':
289
- print(f"Is CUDA available: {torch.cuda.is_available()}")
290
- # True
291
- print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
292
  # Tesla T4
293
  api()
 
286
  streamlit.error('Please upload an image.')
287
 
288
  if __name__ == '__main__':
289
+ # print(f"Is CUDA available: {torch.cuda.is_available()}")
290
+ # # True
291
+ # print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
292
  # Tesla T4
293
  api()