yetessam commited on
Commit
3335de4
·
verified ·
1 Parent(s): d9959e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -45,7 +45,12 @@ web_search = DuckDuckGoSearchTool()
45
 
46
  # Switch to Gemini if this model gets overloaded
47
  my_id = 'Qwen/Qwen2.5-Coder-32B-Instruct'
48
- my_id="https://ntqicork29enjoy5.us-east4.gcp.endpoints.huggingface.cloud"
 
 
 
 
 
49
  model = HfApiModel(
50
  max_tokens=2096,
51
  temperature=0.5,
 
45
 
46
  # Switch to Gemini if this model gets overloaded
47
  my_id = 'Qwen/Qwen2.5-Coder-32B-Instruct'
48
+ # example of an end point
49
+ #my_id="https://ntqicork29enjoy5.us-east4.gcp.endpoints.huggingface.cloud"
50
+
51
+
52
+ my_id = os.getenv("QWEN_URI")
53
+
54
  model = HfApiModel(
55
  max_tokens=2096,
56
  temperature=0.5,