Spaces:
Runtime error
Runtime error
Commit
·
49199dd
1
Parent(s):
608b63d
Update app.py
Browse files
app.py
CHANGED
|
@@ -409,8 +409,8 @@ def main():
|
|
| 409 |
|
| 410 |
myface.queue(concurrency_count=800,status_update_rate=1)
|
| 411 |
|
| 412 |
-
|
| 413 |
-
return
|
| 414 |
|
| 415 |
myface.launch(enable_queue=True,inline=True,max_threads=800,auth=same_auth)
|
| 416 |
|
|
|
|
| 409 |
|
| 410 |
myface.queue(concurrency_count=800,status_update_rate=1)
|
| 411 |
|
| 412 |
+
def same_auth(username, password):
|
| 413 |
+
return username == password
|
| 414 |
|
| 415 |
myface.launch(enable_queue=True,inline=True,max_threads=800,auth=same_auth)
|
| 416 |
|