Spaces:
Running
Running
wzkariampuzha
commited on
Commit
•
801aede
1
Parent(s):
2b7ba7c
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,8 @@ if disease_or_gard_id:
|
|
119 |
NER_pipeline, entity_classes,
|
120 |
extract_diseases, GARD_dict, max_length,
|
121 |
classify_model_vars)
|
122 |
-
|
|
|
123 |
df.replace(to_replace='None', value="None")
|
124 |
st.dataframe(df, height=200)
|
125 |
csv = convert_df(df)
|
|
|
119 |
NER_pipeline, entity_classes,
|
120 |
extract_diseases, GARD_dict, max_length,
|
121 |
classify_model_vars)
|
122 |
+
#IF it returns something, then continue.
|
123 |
+
if sankey_data:
|
124 |
df.replace(to_replace='None', value="None")
|
125 |
st.dataframe(df, height=200)
|
126 |
csv = convert_df(df)
|