Spaces:
Sleeping
Sleeping
Commit
•
642f784
1
Parent(s):
f6bf10e
Create streamlit_app.py
Browse files- streamlit_app.py +9 -0
streamlit_app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import requests
|
3 |
+
|
4 |
+
st.title("Text Generation with T5")
|
5 |
+
|
6 |
+
input_text = st.text_input("Enter text:")
|
7 |
+
|
8 |
+
if st.button("Generate"):
|
9 |
+
st.write("Generated text:")
|