Update app.py
Browse files
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=(
|
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 |
|