mr4 commited on
Commit
d4e868f
·
verified ·
1 Parent(s): f20165d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ model = 'stable-diffusion-v1-5/stable-diffusion-v1-5'
14
 
15
  # @spaces.GPU #[uncomment to use ZeroGPU]
16
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
17
- ìf device == 'cuda':
18
  torch_dtype=torch.float16
19
  else:
20
  torch_dtype='auto'
@@ -82,7 +82,7 @@ css = """
82
 
83
  with gr.Blocks(css=css) as demo:
84
  with gr.Column(elem_id="col-container"):
85
- gr.Markdown(" # Text-to-Image Gradio Template")
86
 
87
  with gr.Row():
88
  content = gr.Text(
 
14
 
15
  # @spaces.GPU #[uncomment to use ZeroGPU]
16
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
17
+ if device == 'cuda':
18
  torch_dtype=torch.float16
19
  else:
20
  torch_dtype='auto'
 
82
 
83
  with gr.Blocks(css=css) as demo:
84
  with gr.Column(elem_id="col-container"):
85
+ gr.Markdown(" # Create QR Code fingerprints")
86
 
87
  with gr.Row():
88
  content = gr.Text(