Spaces:
Sleeping
Sleeping
Add app-based authentication
Browse files
app.py
CHANGED
@@ -79,4 +79,5 @@ gr.Interface(
|
|
79 |
fn=predict,
|
80 |
inputs=gr.Image(type="pil"),
|
81 |
outputs=gr.Markdown(),
|
|
|
82 |
).launch()
|
|
|
79 |
fn=predict,
|
80 |
inputs=gr.Image(type="pil"),
|
81 |
outputs=gr.Markdown(),
|
82 |
+
auth=(os.environ.get("USERNAME"), os.environ.get("PASSWORD")),
|
83 |
).launch()
|