Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ import os
|
|
7 |
|
8 |
#print(os.getenv('api_key'))
|
9 |
api_key = os.getenv('api_key')
|
10 |
-
|
|
|
11 |
|
12 |
def getfromclaude(contente,prompte):
|
13 |
client = anthropic.Anthropic(api_key=api_key)
|
@@ -81,4 +82,4 @@ iface = gr.Interface(
|
|
81 |
)
|
82 |
#iface.launch(share=True)
|
83 |
#iface.launch()
|
84 |
-
iface.launch(auth=(
|
|
|
7 |
|
8 |
#print(os.getenv('api_key'))
|
9 |
api_key = os.getenv('api_key')
|
10 |
+
username = os.getenv('username')
|
11 |
+
password = os.getenv('password')
|
12 |
|
13 |
def getfromclaude(contente,prompte):
|
14 |
client = anthropic.Anthropic(api_key=api_key)
|
|
|
82 |
)
|
83 |
#iface.launch(share=True)
|
84 |
#iface.launch()
|
85 |
+
iface.launch(auth=(username, password))
|