phyloforfun commited on
Commit
f007322
β€’
1 Parent(s): 25bbc63
Files changed (3) hide show
  1. README.md +3 -3
  2. app.py +11 -11
  3. requirements.txt +0 -0
README.md CHANGED
@@ -1,15 +1,15 @@
1
  ---
2
  title: VoucherVision
3
- emoji: πŸ“ˆ
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
- sdk_version: 1.28.1
8
  app_file: app.py
9
  pinned: false
10
  license: cc-by-nc-4.0
11
  preload_from_hub:
12
- - microsoft/trocr-base-handwritten
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: VoucherVision
3
+ emoji: πŸ“
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
+ sdk_version: 1.32.1
8
  app_file: app.py
9
  pinned: false
10
  license: cc-by-nc-4.0
11
  preload_from_hub:
12
+ - microsoft/trocr-large-handwritten
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -1502,11 +1502,11 @@ def content_header():
1502
  ct_left, ct_right = st.columns([1,1])
1503
  with ct_left:
1504
  st.button("Refresh", on_click=refresh, use_container_width=True)
1505
- # with ct_right:
1506
- # try:
1507
- # st.page_link(os.path.join("pages","faqs.py"), label="FAQs", icon="❔")
1508
- # except:
1509
- # st.page_link(os.path.join(os.path.dirname(__file__),"pages","faqs.py"), label="FAQs", icon="❔")
1510
 
1511
 
1512
 
@@ -1707,12 +1707,12 @@ def content_prompt_and_llm_version():
1707
  selected_version = default_version
1708
  st.session_state.config['leafmachine']['project']['prompt_version'] = st.selectbox("Prompt Version", available_prompts, index=available_prompts.index(selected_version),label_visibility='collapsed')
1709
 
1710
- # with col_prompt_2:
1711
- # # if st.button("Build Custom LLM Prompt"):
1712
- # try:
1713
- # st.page_link(os.path.join("pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1714
- # except:
1715
- # st.page_link(os.path.join(os.path.dirname(__file__),"pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1716
 
1717
 
1718
  st.header('LLM Version')
 
1502
  ct_left, ct_right = st.columns([1,1])
1503
  with ct_left:
1504
  st.button("Refresh", on_click=refresh, use_container_width=True)
1505
+ with ct_right:
1506
+ try:
1507
+ st.page_link(os.path.join("pages","faqs.py"), label="FAQs", icon="❔")
1508
+ except:
1509
+ st.page_link(os.path.join(os.path.dirname(__file__),"pages","faqs.py"), label="FAQs", icon="❔")
1510
 
1511
 
1512
 
 
1707
  selected_version = default_version
1708
  st.session_state.config['leafmachine']['project']['prompt_version'] = st.selectbox("Prompt Version", available_prompts, index=available_prompts.index(selected_version),label_visibility='collapsed')
1709
 
1710
+ with col_prompt_2:
1711
+ # if st.button("Build Custom LLM Prompt"):
1712
+ try:
1713
+ st.page_link(os.path.join("pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1714
+ except:
1715
+ st.page_link(os.path.join(os.path.dirname(__file__),"pages","prompt_builder.py"), label="Prompt Builder", icon="🚧")
1716
 
1717
 
1718
  st.header('LLM Version')
requirements.txt CHANGED
Binary files a/requirements.txt and b/requirements.txt differ