Spaces:
Runtime error
Runtime error
list of response
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from pydantic_ai.models.groq import GroqModel
|
|
| 4 |
import nest_asyncio
|
| 5 |
import random
|
| 6 |
import planet_model as customModel
|
| 7 |
-
|
| 8 |
|
| 9 |
|
| 10 |
random_number = random.randint(3000, 10000)
|
|
@@ -33,7 +33,7 @@ async def onClick(vacationType,familyType,duration,purpose,interests):
|
|
| 33 |
"Visual Arts: Imagery from H.R. Giger (Alien) or Moebius (The Incal).",
|
| 34 |
"Graphic Novels: Saga, Transmetropolitan."
|
| 35 |
),
|
| 36 |
-
result_type = customModel.TravelAgency
|
| 37 |
)
|
| 38 |
result_1 = agent.run_sync(user_prompt="for space travel which planet is the best")
|
| 39 |
result = result_1
|
|
|
|
| 4 |
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)
|
|
|
|
| 33 |
"Visual Arts: Imagery from H.R. Giger (Alien) or Moebius (The Incal).",
|
| 34 |
"Graphic Novels: Saga, Transmetropolitan."
|
| 35 |
),
|
| 36 |
+
result_type = List[customModel.TravelAgency]
|
| 37 |
)
|
| 38 |
result_1 = agent.run_sync(user_prompt="for space travel which planet is the best")
|
| 39 |
result = result_1
|