Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ with col2:
|
|
34 |
## Question (/Prompt)
|
35 |
# question = "Question answering. How many unsafe practice of Lifting Operation?"
|
36 |
default_question = "Is this a Lifting Operation scene?"
|
37 |
-
task_type = st.selectbox("Question Type:", ("Question Answering", "
|
38 |
question_text = st.text_input("Prompt:", placeholder=default_question)
|
39 |
if question_text is not None:
|
40 |
question = task_type + ". " + question_text
|
|
|
34 |
## Question (/Prompt)
|
35 |
# question = "Question answering. How many unsafe practice of Lifting Operation?"
|
36 |
default_question = "Is this a Lifting Operation scene?"
|
37 |
+
task_type = st.selectbox("Question Type:", ("Classification", "Question Answering", "Layout Analysis"))
|
38 |
question_text = st.text_input("Prompt:", placeholder=default_question)
|
39 |
if question_text is not None:
|
40 |
question = task_type + ". " + question_text
|