Spaces:
Sleeping
Sleeping
jhj0517
commited on
Commit
•
c595700
1
Parent(s):
3762ed3
Fix arg
Browse files
app.py
CHANGED
@@ -211,8 +211,10 @@ class App:
|
|
211 |
server_name=self.args.server_name,
|
212 |
server_port=self.args.server_port,
|
213 |
root_path=self.args.root_path,
|
214 |
-
|
215 |
-
|
|
|
|
|
216 |
)
|
217 |
|
218 |
|
|
|
211 |
server_name=self.args.server_name,
|
212 |
server_port=self.args.server_port,
|
213 |
root_path=self.args.root_path,
|
214 |
+
auth={
|
215 |
+
"username": self.args.username,
|
216 |
+
"password": self.args.password
|
217 |
+
} if self.args.username and self.args.password else None
|
218 |
)
|
219 |
|
220 |
|