DreamStream-1 commited on
Commit
540646a
·
verified ·
1 Parent(s): 5a73329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -18,6 +18,7 @@ from selenium import webdriver
18
  from selenium.webdriver.chrome.options import Options
19
  import chromedriver_autoinstaller
20
  import os
 
21
 
22
  # Ensure necessary NLTK resources are downloaded
23
  nltk.download('punkt')
@@ -196,11 +197,6 @@ def provide_suggestions(emotion):
196
  }
197
  return resources.get(emotion, {'message': "Stay calm. 🙂", 'articles': [], 'videos': []})
198
 
199
- import requests
200
- import pandas as pd
201
- import gradio as gr
202
- import geocoder # Use geocoder to get latitude/longitude from city
203
-
204
  # Function to find wellness professionals
205
  def find_wellness_professionals(location, state):
206
  # Geocode the location to get latitude and longitude
@@ -302,4 +298,3 @@ def gradio_interface():
302
  # Run the Gradio interface
303
  if __name__ == "__main__":
304
  gradio_interface()
305
-
 
18
  from selenium.webdriver.chrome.options import Options
19
  import chromedriver_autoinstaller
20
  import os
21
+ import geocoder # Use geocoder to get latitude/longitude from city
22
 
23
  # Ensure necessary NLTK resources are downloaded
24
  nltk.download('punkt')
 
197
  }
198
  return resources.get(emotion, {'message': "Stay calm. 🙂", 'articles': [], 'videos': []})
199
 
 
 
 
 
 
200
  # Function to find wellness professionals
201
  def find_wellness_professionals(location, state):
202
  # Geocode the location to get latitude and longitude
 
298
  # Run the Gradio interface
299
  if __name__ == "__main__":
300
  gradio_interface()