Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ client = OpenAI(
|
|
| 35 |
|
| 36 |
url = "https://api.fireworks.ai/inference/v1/chat/completions"
|
| 37 |
payload = {
|
| 38 |
-
"model": "accounts/fireworks/models/
|
| 39 |
"max_tokens": 1024,
|
| 40 |
"temperature": 0.6,
|
| 41 |
"top_p": 1,
|
|
@@ -190,7 +190,7 @@ def predict(user_input,company):
|
|
| 190 |
# Get response from the LLM
|
| 191 |
try:
|
| 192 |
response = client.chat.completions.create(
|
| 193 |
-
model= "accounts/fireworks/models/
|
| 194 |
messages=prompt,
|
| 195 |
temperature=0
|
| 196 |
)
|
|
|
|
| 35 |
|
| 36 |
url = "https://api.fireworks.ai/inference/v1/chat/completions"
|
| 37 |
payload = {
|
| 38 |
+
"model": "accounts/fireworks/models/Llama-3.2-90B-Vision-Instruct", #""accounts/fireworks/models/llama-v3p3-70b-instruct",
|
| 39 |
"max_tokens": 1024,
|
| 40 |
"temperature": 0.6,
|
| 41 |
"top_p": 1,
|
|
|
|
| 190 |
# Get response from the LLM
|
| 191 |
try:
|
| 192 |
response = client.chat.completions.create(
|
| 193 |
+
model= "accounts/fireworks/models/Llama-3.2-90B-Vision-Instruct", #"accounts/fireworks/models/llama-v3p3-70b-instruct",
|
| 194 |
messages=prompt,
|
| 195 |
temperature=0
|
| 196 |
)
|