Spaces:
Sleeping
Sleeping
Peggy Fan
commited on
Commit
β’
15a5699
1
Parent(s):
1569674
new look
Browse files
README.md
CHANGED
@@ -4,9 +4,10 @@ emoji: π
|
|
4 |
colorFrom: red
|
5 |
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
-
sdk_version: 1.21
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
+
sdk_version: 1.21
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
|
app.py
CHANGED
@@ -27,8 +27,7 @@ def generate_response(uploaded_file, openai_api_key, query_text):
|
|
27 |
|
28 |
# Page title
|
29 |
st.set_page_config(page_title='π©πΌβππ€ Ask the Doc App')
|
30 |
-
st.title('
|
31 |
-
|
32 |
# File upload
|
33 |
uploaded_file = st.file_uploader('Upload an article', type='txt')
|
34 |
# Query text
|
|
|
27 |
|
28 |
# Page title
|
29 |
st.set_page_config(page_title='π©πΌβππ€ Ask the Doc App')
|
30 |
+
st.title('π©βππ€ Ask the Doc App')
|
|
|
31 |
# File upload
|
32 |
uploaded_file = st.file_uploader('Upload an article', type='txt')
|
33 |
# Query text
|