Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,8 +151,9 @@ def main():
|
|
| 151 |
st.markdown(f"**Confidence**: {similarity:.1%}")
|
| 152 |
st.markdown(f"**Authors**: {res['authors']}")
|
| 153 |
source = res['source']
|
| 154 |
-
|
| 155 |
-
|
|
|
|
| 156 |
|
| 157 |
except Exception as e:
|
| 158 |
logger.error(f"Search error: {str(e)}")
|
|
|
|
| 151 |
st.markdown(f"**Confidence**: {similarity:.1%}")
|
| 152 |
st.markdown(f"**Authors**: {res['authors']}")
|
| 153 |
source = res['source']
|
| 154 |
+
st.write("**Sources**:")
|
| 155 |
+
for url in row['source']:
|
| 156 |
+
st.markdown(f"- [{url}]({url}) | [Google Scholar Search](https://scholar.google.com/scholar?q={quote(res['title'])})")
|
| 157 |
|
| 158 |
except Exception as e:
|
| 159 |
logger.error(f"Search error: {str(e)}")
|