updated comments for better understanding
Browse files
app.py
CHANGED
|
@@ -13,3 +13,6 @@ prompt = st.text_area("Enter a prompt")
|
|
| 13 |
if prompt:
|
| 14 |
output = model(prompt)[0]["generated_text"]
|
| 15 |
st.write(output)
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
if prompt:
|
| 14 |
output = model(prompt)[0]["generated_text"]
|
| 15 |
st.write(output)
|
| 16 |
+
|
| 17 |
+
'''This sets up a simple interface with a dropdown to select either text generation or summarization,
|
| 18 |
+
a text area for input, and displays the generated output'''
|