haodongli commited on
Commit
1ab497a
·
1 Parent(s): eceb858

Update gradio_demo.py

Browse files
Files changed (1) hide show
  1. gradio_demo.py +3 -1
gradio_demo.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  import numpy as np
3
- from train import *
 
 
4
 
5
  example_inputs = [[
6
  "A DSLR photo of a Rugged, vintage-inspired hiking boots with a weathered leather finish, best quality, 4K, HD.",
 
1
  import gradio as gr
2
  import numpy as np
3
+ # from train import *
4
+ import torch
5
+ print(torch.cuda.is_available())
6
 
7
  example_inputs = [[
8
  "A DSLR photo of a Rugged, vintage-inspired hiking boots with a weathered leather finish, best quality, 4K, HD.",