haodongli commited on
Commit
cc57ce2
·
1 Parent(s): 4524393

Update gradio_demo.py

Browse files
Files changed (1) hide show
  1. gradio_demo.py +4 -1
gradio_demo.py CHANGED
@@ -1,6 +1,9 @@
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
+
5
+ import torch
6
+ print(torch.cuda.is_available())
7
 
8
  example_inputs = [[
9
  "A DSLR photo of a Rugged, vintage-inspired hiking boots with a weathered leather finish, best quality, 4K, HD.",