Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,8 +87,9 @@ def getstuff(openapikey):
|
|
| 87 |
each=each.replace("The top technologies mentioned are ","").replace("The technologies mentioned are ","")
|
| 88 |
each=each.replace(":","").replace(" and ",",").replace("and ",",").replace(" and",",").replace(" the "," ").replace("the "," ").replace(" the"," ").strip()
|
| 89 |
for item in each.split(","):
|
| 90 |
-
|
| 91 |
-
|
|
|
|
| 92 |
tech_df=pd.DataFrame()
|
| 93 |
tech_df['tech']=newlistoftech
|
| 94 |
tech_df['company']=newlistofcompanies
|
|
|
|
| 87 |
each=each.replace("The top technologies mentioned are ","").replace("The technologies mentioned are ","")
|
| 88 |
each=each.replace(":","").replace(" and ",",").replace("and ",",").replace(" and",",").replace(" the "," ").replace("the "," ").replace(" the"," ").strip()
|
| 89 |
for item in each.split(","):
|
| 90 |
+
if each!='':
|
| 91 |
+
newlistoftech.append(item.strip())
|
| 92 |
+
newlistofcompanies.append(i)
|
| 93 |
tech_df=pd.DataFrame()
|
| 94 |
tech_df['tech']=newlistoftech
|
| 95 |
tech_df['company']=newlistofcompanies
|