Spaces:
Runtime error
Runtime error
Commit
·
9a46289
1
Parent(s):
5af49e7
Update app.py
Browse files
app.py
CHANGED
@@ -102,12 +102,12 @@ def main():
|
|
102 |
Country=[]
|
103 |
score=[]
|
104 |
for matches in result['matches']:
|
105 |
-
Name.append(matches['metadata']['
|
106 |
Country.append(matches['metadata']['Country'])
|
107 |
score.append(matches['score'])
|
108 |
-
|
109 |
-
final_result= pd.DataFrame(list(zip(
|
110 |
-
|
111 |
|
112 |
st.dataframe(final_result)
|
113 |
|
|
|
102 |
Country=[]
|
103 |
score=[]
|
104 |
for matches in result['matches']:
|
105 |
+
Name.append(matches['metadata']['name'])
|
106 |
Country.append(matches['metadata']['Country'])
|
107 |
score.append(matches['score'])
|
108 |
+
|
109 |
+
final_result= pd.DataFrame(list(zip(Name, Country, score)),
|
110 |
+
columns =['Company_name', 'Country','score' ])
|
111 |
|
112 |
st.dataframe(final_result)
|
113 |
|