prithivMLmods commited on
Commit
38bf7a6
·
verified ·
1 Parent(s): 5f4bb98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -19,6 +19,7 @@ html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px;
19
 
20
  DESCRIPTIONx = """## STABLE HAMSTER
21
  """
 
22
  css = '''
23
  .gradio-container{max-width: 560px !important}
24
  h1{text-align:center}
@@ -29,13 +30,14 @@ footer {
29
 
30
  examples = [
31
  "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750, 4K resolution highlights, Sharp focus, octane render, ray tracing, Ultra-High-Definition, 8k, UHD, HDR, (Masterpiece:1.5), (best quality:1.5)",
32
- "Cold coffee in a cup photo bokeh --ar 85:128 --v 6.0 --style raw5"
33
  ]
34
 
35
  #Set an os.Getenv variable
36
  #set VAR_NAME=”VALUE”
37
  #Fetch an environment variable
38
  #echo %VAR_NAME%
 
39
  MODEL_ID = os.getenv("MODEL_REPO")
40
  MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
41
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
 
19
 
20
  DESCRIPTIONx = """## STABLE HAMSTER
21
  """
22
+
23
  css = '''
24
  .gradio-container{max-width: 560px !important}
25
  h1{text-align:center}
 
30
 
31
  examples = [
32
  "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750, 4K resolution highlights, Sharp focus, octane render, ray tracing, Ultra-High-Definition, 8k, UHD, HDR, (Masterpiece:1.5), (best quality:1.5)",
33
+ "Cold coffee in a cup bokeh --ar 85:128 --v 6.0 --style raw5"
34
  ]
35
 
36
  #Set an os.Getenv variable
37
  #set VAR_NAME=”VALUE”
38
  #Fetch an environment variable
39
  #echo %VAR_NAME%
40
+
41
  MODEL_ID = os.getenv("MODEL_REPO")
42
  MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
43
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"