Alireza1913 commited on
Commit
a1c5010
·
verified ·
1 Parent(s): 45baf6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -2,8 +2,10 @@ import gradio as gr
2
  import os
3
  from anthropic import Anthropic
4
 
5
- client = Anthropic(api_key=os.environ.get("ANTHROPIC_API_KEY", ""))
6
-
 
 
7
  API_KNOWLEDGE_BASE = """
8
  You are an expert API architect and indie hacker advisor. You know every major API deeply:
9
 
 
2
  import os
3
  from anthropic import Anthropic
4
 
5
+ client = Anthropic(
6
+ api_key=os.environ.get("ANTHROPIC_API_KEY", ""),
7
+ base_url="https://api.avalai.ir"
8
+ )
9
  API_KNOWLEDGE_BASE = """
10
  You are an expert API architect and indie hacker advisor. You know every major API deeply:
11