N.Achyuth Reddy commited on
Commit
6d8c079
·
verified ·
1 Parent(s): 28eb00c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -12,6 +12,14 @@ DESCRIPTION = """
12
  ----
13
  """
14
 
 
 
 
 
 
 
 
 
15
  # Initialize client
16
  whisper_client = Client("https://hf-audio-whisper-large-v3.hf.space/")
17
 
 
12
  ----
13
  """
14
 
15
+ # Sidebar
16
+ with st.sidebar:
17
+ system_promptSide = st.text_input("ᴏᴘᴛɪᴏɴᴀʟ sʏsᴛᴇᴍ ᴘʀᴏᴍᴘᴛ:")
18
+ temperatureSide = st.slider("ᴛᴇᴍᴘᴇʀᴀᴛᴜʀᴇ", min_value=0.0, max_value=1.0, value=0.9, step=0.05)
19
+ max_new_tokensSide = st.slider("ᴍᴀx ɴᴇᴡ ᴛᴏᴋᴇɴs", min_value=0.0, max_value=4096.0, value=4096.0, step=64.0)
20
+ ToppSide = st.slider("ᴛᴏᴘ-ᴘ (ɴᴜᴄʟᴇᴜs sᴀᴍᴘʟɪɴɢ)", min_value=0.0, max_value=1.0, value=0.6, step=0.05)
21
+ RepetitionpenaltySide = st.slider("ʀᴇᴘᴇᴛɪᴛɪᴏɴ ᴘᴇɴᴀʟᴛʏ", min_value=0.0, max_value=2.0, value=1.2, step=0.05)
22
+
23
  # Initialize client
24
  whisper_client = Client("https://hf-audio-whisper-large-v3.hf.space/")
25