Spaces:
Sleeping
Sleeping
removing slider
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ model_location = "KingZack/future-futurama-maker"
|
|
5 |
pipe = pipeline("text-generation", model=model_location)
|
6 |
|
7 |
text = st.text_area('Give me ideas to generate a new Futurama episode...')
|
8 |
-
value = st.slider("How long of a response do you want. The longer the much more time it takes",
|
9 |
-
|
10 |
|
11 |
if text:
|
12 |
generated_response_object = pipe(text, max_length=600)
|
|
|
5 |
pipe = pipeline("text-generation", model=model_location)
|
6 |
|
7 |
text = st.text_area('Give me ideas to generate a new Futurama episode...')
|
8 |
+
# value = st.slider("How long of a response do you want. The longer the much more time it takes",
|
9 |
+
# min_value=69, max_value=4444, value=100)
|
10 |
|
11 |
if text:
|
12 |
generated_response_object = pipe(text, max_length=600)
|