sarim commited on
Commit
2ffa216
·
1 Parent(s): 223da36
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -12,7 +12,9 @@ agent = Agent(model,system_prompt=(
12
 
13
  ))
14
 
15
- result_1 = agent.run_sync("for space travel which planet is the best")
 
 
16
  ##The Zorvath
17
 
18
 
@@ -24,4 +26,9 @@ result_1 = agent.run_sync("for space travel which planet is the best")
24
  #print(result_2.data)
25
 
26
 
27
- st.markdown(result_1.data)
 
 
 
 
 
 
12
 
13
  ))
14
 
15
+ async def main():
16
+
17
+ result_1 = agent.run_sync("for space travel which planet is the best")
18
  ##The Zorvath
19
 
20
 
 
26
  #print(result_2.data)
27
 
28
 
29
+ st.markdown(result_1.data)
30
+
31
+ if __name__ == '__main__':
32
+ import asyncio
33
+
34
+ asyncio.run(main())