obaes commited on
Commit
8306e18
1 Parent(s): ea8d91c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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=("username", "password"))
 
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))