Sean Laurent commited on
Commit
ef1a1c7
·
1 Parent(s): d27a72c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,9 +3,10 @@ import base64
3
  from io import BytesIO
4
  from PIL import Image
5
  import gradio as gr
 
6
 
7
- api_key = "1a3e1402-a0ce-4e5f-beb2-0437bc244f7b"
8
- model_key = "72127aef-ae0b-4a69-bee5-ed7ffda1ea04"
9
 
10
  model_inputs = {
11
  "endpoint": "txt2img",
 
3
  from io import BytesIO
4
  from PIL import Image
5
  import gradio as gr
6
+ import os
7
 
8
+ api_key = os.environ.get("api_key")
9
+ model_key = os.environ.get("model_key")
10
 
11
  model_inputs = {
12
  "endpoint": "txt2img",