TharvinPrakash commited on
Commit
ef6455e
·
verified ·
1 Parent(s): 33abad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ selected_model = st.selectbox("Choose a model to use:", model_options)
46
  input_text = st.text_area("Enter text:", placeholder="Type your input here...")
47
 
48
  # Default local model path for headline generation
49
- local_model_path = r"C:\Users\Tharvin prakash\.cache\huggingface\hub\models--Michau--t5-base-en-generate-headline\snapshots\f526532f788c45b6b6288286e5ef929fa768ef6a"
50
 
51
  # Button to process text based on the selected model
52
  if st.button("Process Text") and input_text:
 
46
  input_text = st.text_area("Enter text:", placeholder="Type your input here...")
47
 
48
  # Default local model path for headline generation
49
+ local_model_path = "Michau/t5-base-en-generate-headline"
50
 
51
  # Button to process text based on the selected model
52
  if st.button("Process Text") and input_text: