Spaces:
Runtime error
Runtime error
hide api key
Browse files
app.py
CHANGED
|
@@ -5,11 +5,12 @@ import nest_asyncio
|
|
| 5 |
import random
|
| 6 |
import planet_model as customModel
|
| 7 |
from typing import List, Dict
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
random_number = random.randint(3000, 10000)
|
| 11 |
|
| 12 |
-
model = GroqModel('llama-3.1-70b-versatile', api_key=
|
| 13 |
|
| 14 |
|
| 15 |
async def onClick(vacationType,familyType,duration,purpose,interests):
|
|
|
|
| 5 |
import random
|
| 6 |
import planet_model as customModel
|
| 7 |
from typing import List, Dict
|
| 8 |
+
import constants
|
| 9 |
|
| 10 |
|
| 11 |
random_number = random.randint(3000, 10000)
|
| 12 |
|
| 13 |
+
model = GroqModel('llama-3.1-70b-versatile', api_key = constants.api_key)
|
| 14 |
|
| 15 |
|
| 16 |
async def onClick(vacationType,familyType,duration,purpose,interests):
|