Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import pandas as pd
|
2 |
import random
|
|
|
3 |
|
4 |
df = pd.read_csv('profiles.csv')
|
5 |
|
@@ -27,8 +28,11 @@ def match_therapist(new_user_interests, new_user_therapy_goals):
|
|
27 |
return matched_therapist
|
28 |
|
29 |
# Example usage:
|
30 |
-
new_user_interests = input('Enter the interest: ')
|
31 |
-
new_user_therapy_goals = input('Enter the therapy: ')
|
|
|
|
|
|
|
32 |
|
33 |
matched_therapist_df = match_therapist(new_user_interests, new_user_therapy_goals)
|
34 |
|
|
|
1 |
import pandas as pd
|
2 |
import random
|
3 |
+
import streamlit as st
|
4 |
|
5 |
df = pd.read_csv('profiles.csv')
|
6 |
|
|
|
28 |
return matched_therapist
|
29 |
|
30 |
# Example usage:
|
31 |
+
# new_user_interests = input('Enter the interest: ')
|
32 |
+
# new_user_therapy_goals = input('Enter the therapy: ')
|
33 |
+
|
34 |
+
new_user_interests = st.text_area("Enter the interest: ")
|
35 |
+
new_user_therapy_goals = st.text_area("Enter the therapy: ")
|
36 |
|
37 |
matched_therapist_df = match_therapist(new_user_interests, new_user_therapy_goals)
|
38 |
|