DTStudios commited on
Commit
af19ff1
·
verified ·
1 Parent(s): 6736ee7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -44,6 +44,13 @@ agent = CodeAgent(
44
  description="Weather info agent",
45
  model="gpt-3.5-turbo" # or whatever model is supported
46
  )
 
 
 
 
 
 
 
47
  demo.launch(ssr=False)
48
 
49
  @tool
 
44
  description="Weather info agent",
45
  model="gpt-3.5-turbo" # or whatever model is supported
46
  )
47
+ demo = GradioUI(
48
+ fn=get_weather,
49
+ inputs="text",
50
+ output="text",
51
+ title="DTS Weather Tool",
52
+ description="Enter a city to get current weather"
53
+ )
54
  demo.launch(ssr=False)
55
 
56
  @tool