ML-INTA commited on
Commit
2b488ea
1 Parent(s): 51c0d10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -14,6 +14,9 @@ import gradio as gr
14
  # Variables globales
15
  # ######################
16
 
 
 
 
17
  #model_id = "helenai/runwayml-stable-diffusion-v1-5-ov-fp32"
18
  model_id = "runwayml/stable-diffusion-v1-5" #-> original
19
 
@@ -98,7 +101,7 @@ demo = gr.Interface(
98
  )
99
 
100
 
101
- demo.launch(show_error = True, auth=("USUARIO", "USUARIO"), share=True)
102
 
103
 
104
 
 
14
  # Variables globales
15
  # ######################
16
 
17
+ import os
18
+ USUARIO = os.getenv("USUARIO")
19
+
20
  #model_id = "helenai/runwayml-stable-diffusion-v1-5-ov-fp32"
21
  model_id = "runwayml/stable-diffusion-v1-5" #-> original
22
 
 
101
  )
102
 
103
 
104
+ demo.launch(show_error = True, auth=(USUARIO, USUARIO), share=True)
105
 
106
 
107