Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
gr.Blocks()
Browse files
app.py
CHANGED
@@ -32,7 +32,8 @@ def environ_auth(username, password):
|
|
32 |
return True
|
33 |
else:
|
34 |
return False
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
32 |
return True
|
33 |
else:
|
34 |
return False
|
35 |
+
|
36 |
+
with gr.Blocks() as attuned_copilot:
|
37 |
+
attuned_copilot = gr.load("attuned-ai/AttunedSalesCo-Pilot-Private", src="spaces", hf_token=HF_TOKEN)
|
38 |
+
attuned_copilot.queue(max_size=20)
|
39 |
+
attuned_copilot.launch(auth=environ_auth)
|