budhadityac24 commited on
Commit
fb6680b
1 Parent(s): 941ab54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  # # Function Calling with OpenAI APIs
2
  import requests
3
  import os
@@ -164,9 +165,10 @@ def main():
164
  # Get current weather
165
  response = get_response(location,client)
166
  # Display weather details
167
- st.json(response)
 
168
  else:
169
  st.warning("Please enter a city name.")
170
 
171
  if __name__ == "__main__":
172
- main()
 
1
+
2
  # # Function Calling with OpenAI APIs
3
  import requests
4
  import os
 
165
  # Get current weather
166
  response = get_response(location,client)
167
  # Display weather details
168
+ # st.json(response)
169
+ st.write(response)
170
  else:
171
  st.warning("Please enter a city name.")
172
 
173
  if __name__ == "__main__":
174
+ main()