Spaces:
Build error
Build error
added examples
Browse files
app.py
CHANGED
|
@@ -68,12 +68,7 @@ elif context_option == 'Fashion designer':
|
|
| 68 |
elif context_option == 'Young entrepreneur':
|
| 69 |
context_example = examples[2]
|
| 70 |
|
| 71 |
-
|
| 72 |
-
# Input fields
|
| 73 |
-
input = st.text_input('Context', value=context_example) # user inputs context to construct a response (str)
|
| 74 |
-
|
| 75 |
-
maxl, minl = st.columns(2)
|
| 76 |
-
|
| 77 |
option = st.selectbox(
|
| 78 |
'Please select a model.',
|
| 79 |
('interview-question-remake', 'interview-length-tagged', 'reverse-interview-question'))
|
|
@@ -87,6 +82,13 @@ elif option == 'interview-length-tagged':
|
|
| 87 |
elif option == 'reverse-interview-question':
|
| 88 |
st.write("This model asks a question that would have resulted in the context you provide (a.k.a. it traverses backward through the interview)")
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
# Column layout to display generated responses alongside tags
|
| 92 |
col1, col2 = st.columns((3, 1))
|
|
|
|
| 68 |
elif context_option == 'Young entrepreneur':
|
| 69 |
context_example = examples[2]
|
| 70 |
|
| 71 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
option = st.selectbox(
|
| 73 |
'Please select a model.',
|
| 74 |
('interview-question-remake', 'interview-length-tagged', 'reverse-interview-question'))
|
|
|
|
| 82 |
elif option == 'reverse-interview-question':
|
| 83 |
st.write("This model asks a question that would have resulted in the context you provide (a.k.a. it traverses backward through the interview)")
|
| 84 |
|
| 85 |
+
# Input fields
|
| 86 |
+
input = st.text_input('Context', value=context_example) # user inputs context to construct a response (str)
|
| 87 |
+
|
| 88 |
+
maxl, minl = st.columns(2)
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
|
| 93 |
# Column layout to display generated responses alongside tags
|
| 94 |
col1, col2 = st.columns((3, 1))
|