Peggy Fan commited on
Commit
15a5699
β€’
1 Parent(s): 1569674
Files changed (2) hide show
  1. README.md +2 -1
  2. app.py +1 -2
README.md CHANGED
@@ -4,9 +4,10 @@ emoji: πŸ“–
4
  colorFrom: red
5
  colorTo: yellow
6
  sdk: streamlit
7
- sdk_version: 1.21.0
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('πŸ¦œπŸ”— Ask the Doc App')
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