Update app.py
Browse files
app.py
CHANGED
@@ -258,14 +258,10 @@ else:
|
|
258 |
client = InferenceClient()
|
259 |
|
260 |
|
261 |
-
|
262 |
-
|
263 |
-
#
|
264 |
-
|
265 |
-
# if selected_example == "-":
|
266 |
-
# text = st.text_area('Enter your question in the text box below using natural language or select an example from above:')
|
267 |
-
else:
|
268 |
-
text = st.text_area('Enter your question in the text box below using natural language or select an example from above:', value=selected_example)
|
269 |
|
270 |
|
271 |
if st.button('Submit'):
|
|
|
258 |
client = InferenceClient()
|
259 |
|
260 |
|
261 |
+
if selected_example == "-":
|
262 |
+
text = st.text_area('Enter your question in the text box below using natural language or select an example from above:')
|
263 |
+
# else:
|
264 |
+
# text = st.text_area('Enter your question in the text box below using natural language or select an example from above:', value=selected_example)
|
|
|
|
|
|
|
|
|
265 |
|
266 |
|
267 |
if st.button('Submit'):
|