Spaces:
Running
Running
display text
Browse files
app.py
CHANGED
@@ -16,11 +16,12 @@ async def onClick(vacationType,familyType,duration,purpose,interests):
|
|
16 |
f"imagine the year is {random_number} and space travel is normal",
|
17 |
"Mankind has discovered aliens some are more advance then us some are not",
|
18 |
"You are a travel agent and depending on the" + vacationType +"you will list down some destinations",
|
19 |
-
"Also answer based on "+familyType+ "," + duration +","+purpose + "and"+interests
|
|
|
20 |
))
|
21 |
result_1 = agent.run_sync("for space travel which planet is the best")
|
22 |
body = result_1
|
23 |
-
st.
|
24 |
print(result_1)
|
25 |
|
26 |
def asyncOnClick(vacationType,familyType,duration,purpose,interests):
|
|
|
16 |
f"imagine the year is {random_number} and space travel is normal",
|
17 |
"Mankind has discovered aliens some are more advance then us some are not",
|
18 |
"You are a travel agent and depending on the" + vacationType +"you will list down some destinations",
|
19 |
+
"Also answer based on "+familyType+ "," + duration +","+purpose + "and"+interests,
|
20 |
+
"answer in markdown formate"
|
21 |
))
|
22 |
result_1 = agent.run_sync("for space travel which planet is the best")
|
23 |
body = result_1
|
24 |
+
st.markdown(body)
|
25 |
print(result_1)
|
26 |
|
27 |
def asyncOnClick(vacationType,familyType,duration,purpose,interests):
|