Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -226,4 +226,10 @@ with gr.Blocks() as demo:
|
|
226 |
)
|
227 |
|
228 |
if __name__ == "__main__":
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
)
|
227 |
|
228 |
if __name__ == "__main__":
|
229 |
+
auth_user = os.getenv("USER")
|
230 |
+
auth_pass = os.getenv("PASS")
|
231 |
+
|
232 |
+
demo.queue().launch(
|
233 |
+
mcp_server=True,
|
234 |
+
auth=(auth_user, auth_pass) if auth_user and auth_pass else None
|
235 |
+
)
|