Spaces:
Running
Running
Commit
·
51c1624
1
Parent(s):
9580320
added intro, figure
Browse files- app.py +9 -2
- arxiv_decode.png +0 -0
app.py
CHANGED
@@ -7,6 +7,7 @@ import os
|
|
7 |
from stqdm import stqdm
|
8 |
import time
|
9 |
import shutil
|
|
|
10 |
|
11 |
import pickle
|
12 |
docs = None
|
@@ -14,9 +15,15 @@ api_key = ' '
|
|
14 |
|
15 |
st.set_page_config(layout="wide")
|
16 |
|
|
|
|
|
|
|
|
|
17 |
#title
|
18 |
-
st.title("Encode knowledge from papers with cited references")
|
19 |
-
st.markdown("#####
|
|
|
|
|
20 |
|
21 |
api_key_url = 'https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key'
|
22 |
|
|
|
7 |
from stqdm import stqdm
|
8 |
import time
|
9 |
import shutil
|
10 |
+
from PIL import Image
|
11 |
|
12 |
import pickle
|
13 |
docs = None
|
|
|
15 |
|
16 |
st.set_page_config(layout="wide")
|
17 |
|
18 |
+
image = Image.open('arxiv_decode.png')
|
19 |
+
st.image(image, width=1000)
|
20 |
+
|
21 |
+
|
22 |
#title
|
23 |
+
st.title(" Encode knowledge from papers with cited references")
|
24 |
+
st.markdown("##### This tool will allow you to ask questions based on scientific papers.It uses OpenAI's GPT models, and you must have your own API key. Each query is about 10k tokens, which costs about $0.20.")
|
25 |
+
st.markdown("##### Current version searches on ArXiv papers only. 🚧Under development🚧")
|
26 |
+
st.markdown("Used Libraries:\n * [PaperQA](https://github.com/whitead/paper-qa) \n* [langchain](https://github.com/hwchase17/langchain)")
|
27 |
|
28 |
api_key_url = 'https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key'
|
29 |
|
arxiv_decode.png
ADDED
![]() |