nickmuchi commited on
Commit
e7ec23a
β€’
1 Parent(s): baae22a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -30,10 +30,21 @@ st.markdown(
30
  - Analysing the sentiment of transcribed text using the quantized version of [FinBert-Tone](https://huggingface.co/nickmuchi/quantized-optimum-finbert-tone).
31
  - Semantic search engine with [Sentence-Transformers](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) and reranking results with a Cross-Encoder.
32
 
33
- **πŸ‘ˆ Navigate sequentially to the tabs on the sidebar**
 
34
  """
35
  )
36
 
 
 
 
 
 
 
 
 
 
 
37
  auth_token = os.environ.get("auth_token")
38
 
39
  progress_bar = st.sidebar.progress(0)
 
30
  - Analysing the sentiment of transcribed text using the quantized version of [FinBert-Tone](https://huggingface.co/nickmuchi/quantized-optimum-finbert-tone).
31
  - Semantic search engine with [Sentence-Transformers](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) and reranking results with a Cross-Encoder.
32
 
33
+ **πŸ‘‡ Enter a YouTube Earnings Call URL below**
34
+
35
  """
36
  )
37
 
38
+ url_input = st.text_input(
39
+ label='Enter YouTube URL, e.g "https://www.youtube.com/watch?v=8pmbScvyfeY"', key="url")
40
+
41
+ st.markdown(
42
+ "<h3 style='text-align: center; color: red;'>OR</h3>",
43
+ unsafe_allow_html=True
44
+ )
45
+
46
+ upload_wav = st.file_uploader("Upload a .wav sound file ",key="upload")
47
+
48
  auth_token = os.environ.get("auth_token")
49
 
50
  progress_bar = st.sidebar.progress(0)