Spaces:
Build error
Build error
Update app.py
Browse files
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 =
|
| 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:
|