alexeyGod commited on
Commit
01ab686
·
verified ·
1 Parent(s): a6283ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -5,6 +5,9 @@ import random
5
  import spaces #[uncomment to use ZeroGPU]
6
  from diffusers import DiffusionPipeline
7
  import torch
 
 
 
8
 
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
  model_repo_id = "stabilityai/sdxl-turbo" # Replace to the model you would like to use
@@ -52,7 +55,7 @@ def infer(
52
 
53
 
54
  examples = [
55
-
56
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
57
  "An astronaut riding a green horse",
58
  "A delicious ceviche cheesecake slice",
 
5
  import spaces #[uncomment to use ZeroGPU]
6
  from diffusers import DiffusionPipeline
7
  import torch
8
+ import os
9
+ a=os.getenv('My_name')
10
+
11
 
12
  device = "cuda" if torch.cuda.is_available() else "cpu"
13
  model_repo_id = "stabilityai/sdxl-turbo" # Replace to the model you would like to use
 
55
 
56
 
57
  examples = [
58
+ a,
59
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
60
  "An astronaut riding a green horse",
61
  "A delicious ceviche cheesecake slice",