Spaces:
Sleeping
Sleeping
Update models/test.py
Browse files- models/test.py +1 -4
models/test.py
CHANGED
@@ -26,10 +26,7 @@ def write():
|
|
26 |
|
27 |
return (response['choices'][0]['message']['content'])
|
28 |
|
29 |
-
|
30 |
-
on = st.toggle("Show predefined examples to test")
|
31 |
-
if on:
|
32 |
-
st.selectbox("Select a predefined example to test:", TR_TWEETS_EXAMPLES, key='sidebar', on_change=sidebar_callback)
|
33 |
|
34 |
tr_input = st.text_area("Enter your text here:", height=50, key="tr_input") #height=30
|
35 |
if st.button("Evaluate", key="tr_predict"):
|
|
|
26 |
|
27 |
return (response['choices'][0]['message']['content'])
|
28 |
|
29 |
+
|
|
|
|
|
|
|
30 |
|
31 |
tr_input = st.text_area("Enter your text here:", height=50, key="tr_input") #height=30
|
32 |
if st.button("Evaluate", key="tr_predict"):
|