Huage001 commited on
Commit
4ce3f86
1 Parent(s): f5c493e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from diffusers import DiffusionPipeline
6
  import torch
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
- model_repo_id = "stabilityai/sdxl-turbo" #Replace to the model you would like to use
10
 
11
  if torch.cuda.is_available():
12
  torch_dtype = torch.float16
@@ -53,6 +53,8 @@ css="""
53
  """
54
 
55
  with gr.Blocks(css=css) as demo:
 
 
56
 
57
  with gr.Column(elem_id="col-container"):
58
  gr.Markdown(f"""
 
6
  import torch
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
+ model_repo_id = "Lykon/dreamshaper-8" #Replace to the model you would like to use
10
 
11
  if torch.cuda.is_available():
12
  torch_dtype = torch.float16
 
53
  """
54
 
55
  with gr.Blocks(css=css) as demo:
56
+
57
+ # with gr.Tab("Text-to-Image"):
58
 
59
  with gr.Column(elem_id="col-container"):
60
  gr.Markdown(f"""