Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -738,7 +738,7 @@ if query:
|
|
738 |
df13['href'] = [f'https://pubmed.ncbi.nlm.nih.gov/?term={database_name}%5Bmh%5D+NOT+review%5Bpt%5D' \
|
739 |
'+AND+english%5Bla%5D+AND+hasabstract+AND+1990:2022%5Bdp%5D+AND+' + c for c in df13['text']]
|
740 |
df13['href2'] = [f'https://en.wikipedia.org/wiki/' + c for c in df13['text']]
|
741 |
-
df13['href3'] = [f'https://beta.clinicaltrials.gov/search?
|
742 |
assert isinstance(df13, object)
|
743 |
df13['database'] = database_name
|
744 |
|
|
|
738 |
df13['href'] = [f'https://pubmed.ncbi.nlm.nih.gov/?term={database_name}%5Bmh%5D+NOT+review%5Bpt%5D' \
|
739 |
'+AND+english%5Bla%5D+AND+hasabstract+AND+1990:2022%5Bdp%5D+AND+' + c for c in df13['text']]
|
740 |
df13['href2'] = [f'https://en.wikipedia.org/wiki/' + c for c in df13['text']]
|
741 |
+
df13['href3'] = [f'https://beta.clinicaltrials.gov/search?cond={word1}%20{word2}&term={c}&viewType=Table' for c in df13['text']]
|
742 |
assert isinstance(df13, object)
|
743 |
df13['database'] = database_name
|
744 |
|