prithivMLmods commited on
Commit
1612b5a
1 Parent(s): 7a6d2bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -65,7 +65,7 @@ examples = [
65
  #Fetch an environment variable
66
  #echo %VAR_NAME%
67
 
68
- MODEL_ID = os.getenv("MODEL_REPO") #Use any one in environment variable value ---- #SG161222/RealVisXL_V4.0 / SG161222/RealVisXL_V4.0_Lightning (1/2)
69
  MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
70
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
71
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
@@ -253,6 +253,10 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
253
  outputs=[result, seed],
254
  api_name="run",
255
  )
 
 
 
 
256
  gr.Markdown(DESCRIPTIONy)
257
  #gr.HTML(html_content)
258
  if __name__ == "__main__":
 
65
  #Fetch an environment variable
66
  #echo %VAR_NAME%
67
 
68
+ MODEL_ID = os.getenv("MODEL_REPO") #Use SDXL Model as "MODEL_REPO" --------->>> ”VALUE”.
69
  MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
70
  USE_TORCH_COMPILE = os.getenv("USE_TORCH_COMPILE", "0") == "1"
71
  ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
 
253
  outputs=[result, seed],
254
  api_name="run",
255
  )
256
+
257
+ gr.Markdown("**Disclaimer:**")
258
+ gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
259
+
260
  gr.Markdown(DESCRIPTIONy)
261
  #gr.HTML(html_content)
262
  if __name__ == "__main__":