Update app.py
Browse files
app.py
CHANGED
|
@@ -39,8 +39,8 @@ Model_links = {
|
|
| 39 |
"qwen2.5-coder:7b":"https://galactromedaNPMAIECOSYSTEM-model24.hf.space/qwen2.5-coder:7b", #https://sonuramashishnpm-npmai.hf.space/qwen
|
| 40 |
"vicuna:7b":"https://galactromedaNPMAIECOSYSTEM-model25.hf.space/vicuna:7b", #https://sonuramashish22028704-vicuna7b.hf.space/vicuna
|
| 41 |
"phi3:medium":"https://sonuramashish22028704-phi3medium.hf.space/phi3medium",
|
| 42 |
-
"llama3.2:3b":"https://
|
| 43 |
-
"llama3.1:8b":"https://
|
| 44 |
"falcon:7b-instruct":"https://sonuramashish22028704-falcon7binstruct.hf.space/falcon",
|
| 45 |
"meditron":"https://KarachiUniNPMAIECOSYSTEM-model14.hf.space/meditron",
|
| 46 |
"granite4.1:3b":"https://karachiuninpmaiecosystem-model14.hf.space/granite4.1:3b",
|
|
@@ -53,10 +53,10 @@ Model_links = {
|
|
| 53 |
"mistral:7b":"https://sonuramashish22028704-mistral7b.hf.space/mistral",
|
| 54 |
"qwen3.5:9b":"https://sonuramashish22028704-vicuna7b.hf.space/qwen359gb",
|
| 55 |
"gemma2:9b":"https://sonuramashish22028704-internlm27b.hf.space/gemma29b",
|
| 56 |
-
"qwen2.5:7b":"https://
|
| 57 |
-
"llama3.2:1b":"https://
|
| 58 |
-
"qwen2-math:7b":"https://
|
| 59 |
-
"qwen2.5vl":"https://
|
| 60 |
"phi3:3.8b":"https://sonuramashishnpmai-model8.hf.space/phi3:3.8b",
|
| 61 |
"llava-phi3":"https://sonuramashishnpmai-model8.hf.space/llava-phi3",
|
| 62 |
"gemma2:2b":"https://sonuramashishnpmai-model9.hf.space/gemma2:2b",
|
|
@@ -82,7 +82,7 @@ Model_links = {
|
|
| 82 |
"llama3.2_fall":"https://sonuramashishnpm-npm-journalist.hf.space/llm_fall_llama",
|
| 83 |
"qwen2.5-coder:7b_fall":"https://sonuramashish22028704-mistral7b.hf.space/llm_fall_qwen2",
|
| 84 |
"vicuna:7b_fall":"https://sonuramashishnpm-model4.hf.space/llm_fall_vicuna",
|
| 85 |
-
"gemma3:12b_fall":"https://
|
| 86 |
"internlm2:7b_fall":"https://sonuramashishnpm-model2.hf.space/llm_fall_interlm",
|
| 87 |
"falcon:7b-instruct_fall":"https://sonuramashishnpm-model1.hf.space/llm_fall_falcon",
|
| 88 |
"codellama:7b-instruct_fall":"https://sonuramashishnpm-model3.hf.space/llm_fall_codellama",
|
|
@@ -90,7 +90,7 @@ Model_links = {
|
|
| 90 |
"phi3:medium_fall":"https://sonuramashishnpm-model1.hf.space/llama_fall_phi",
|
| 91 |
"qwen3.5:9b_fall":"https://sonuramashishnpm-model4.hf.space/llm_fall_qwen359gb",
|
| 92 |
"gemma2:9b_fall":"https://sonuramashishnpm-model3.hf.space/llm_fall_gemma29b",
|
| 93 |
-
"gemma3:12b":"https://
|
| 94 |
}
|
| 95 |
|
| 96 |
# Updated Lua Script
|
|
@@ -200,4 +200,4 @@ async def router(model_url, prompt, temp):
|
|
| 200 |
raise HTTPException(status_code=502, detail=error_log)
|
| 201 |
|
| 202 |
else:
|
| 203 |
-
return {"response": process}
|
|
|
|
| 39 |
"qwen2.5-coder:7b":"https://galactromedaNPMAIECOSYSTEM-model24.hf.space/qwen2.5-coder:7b", #https://sonuramashishnpm-npmai.hf.space/qwen
|
| 40 |
"vicuna:7b":"https://galactromedaNPMAIECOSYSTEM-model25.hf.space/vicuna:7b", #https://sonuramashish22028704-vicuna7b.hf.space/vicuna
|
| 41 |
"phi3:medium":"https://sonuramashish22028704-phi3medium.hf.space/phi3medium",
|
| 42 |
+
"llama3.2:3b":"https://pmaiecosystem-model5.hf.space/llama3.2:3b",
|
| 43 |
+
"llama3.1:8b":"https://pmaiecosystem-model5.hf.space/llama3.1:8b",
|
| 44 |
"falcon:7b-instruct":"https://sonuramashish22028704-falcon7binstruct.hf.space/falcon",
|
| 45 |
"meditron":"https://KarachiUniNPMAIECOSYSTEM-model14.hf.space/meditron",
|
| 46 |
"granite4.1:3b":"https://karachiuninpmaiecosystem-model14.hf.space/granite4.1:3b",
|
|
|
|
| 53 |
"mistral:7b":"https://sonuramashish22028704-mistral7b.hf.space/mistral",
|
| 54 |
"qwen3.5:9b":"https://sonuramashish22028704-vicuna7b.hf.space/qwen359gb",
|
| 55 |
"gemma2:9b":"https://sonuramashish22028704-internlm27b.hf.space/gemma29b",
|
| 56 |
+
"qwen2.5:7b":"https://pmaiecosystem-model6.hf.space/qwen2.5:7b",
|
| 57 |
+
"llama3.2:1b":"https://pmaiecosystem-model6.hf.space/llama3.2:1b",
|
| 58 |
+
"qwen2-math:7b":"https://pmaiecosystem-model7.hf.space/qwen2-math:7b",
|
| 59 |
+
"qwen2.5vl":"https://pmaiecosystem-model7.hf.space/qwen2.5vl",
|
| 60 |
"phi3:3.8b":"https://sonuramashishnpmai-model8.hf.space/phi3:3.8b",
|
| 61 |
"llava-phi3":"https://sonuramashishnpmai-model8.hf.space/llava-phi3",
|
| 62 |
"gemma2:2b":"https://sonuramashishnpmai-model9.hf.space/gemma2:2b",
|
|
|
|
| 82 |
"llama3.2_fall":"https://sonuramashishnpm-npm-journalist.hf.space/llm_fall_llama",
|
| 83 |
"qwen2.5-coder:7b_fall":"https://sonuramashish22028704-mistral7b.hf.space/llm_fall_qwen2",
|
| 84 |
"vicuna:7b_fall":"https://sonuramashishnpm-model4.hf.space/llm_fall_vicuna",
|
| 85 |
+
"gemma3:12b_fall":"https://pmaiecosystem-gemma312b_fall.hf.space/llm_fall_gemma312b",
|
| 86 |
"internlm2:7b_fall":"https://sonuramashishnpm-model2.hf.space/llm_fall_interlm",
|
| 87 |
"falcon:7b-instruct_fall":"https://sonuramashishnpm-model1.hf.space/llm_fall_falcon",
|
| 88 |
"codellama:7b-instruct_fall":"https://sonuramashishnpm-model3.hf.space/llm_fall_codellama",
|
|
|
|
| 90 |
"phi3:medium_fall":"https://sonuramashishnpm-model1.hf.space/llama_fall_phi",
|
| 91 |
"qwen3.5:9b_fall":"https://sonuramashishnpm-model4.hf.space/llm_fall_qwen359gb",
|
| 92 |
"gemma2:9b_fall":"https://sonuramashishnpm-model3.hf.space/llm_fall_gemma29b",
|
| 93 |
+
"gemma3:12b":"https://pmaiecosystem-gemma312b.hf.space/gemma312b",
|
| 94 |
}
|
| 95 |
|
| 96 |
# Updated Lua Script
|
|
|
|
| 200 |
raise HTTPException(status_code=502, detail=error_log)
|
| 201 |
|
| 202 |
else:
|
| 203 |
+
return {"response": process}
|