Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,6 +42,6 @@ with st.form(key="myForm"):
|
|
| 42 |
submit = st.form_submit_button("Submit", type='primary')
|
| 43 |
if submit and prompt:
|
| 44 |
with st.spinner("Generating Response"):
|
| 45 |
-
|
| 46 |
-
|
| 47 |
|
|
|
|
| 42 |
submit = st.form_submit_button("Submit", type='primary')
|
| 43 |
if submit and prompt:
|
| 44 |
with st.spinner("Generating Response"):
|
| 45 |
+
response = model.invoke(prompt)
|
| 46 |
+
st.write(response)
|
| 47 |
|