Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import numpy as np
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
with st.chat_message("user"):
|
| 6 |
+
st.write("Hello 👋")
|
| 7 |
+
st.line_chart(np.random.randn(30, 3))
|
| 8 |
+
|
| 9 |
+
prompt = st.chat_input("Say something")
|
| 10 |
+
if prompt:
|
| 11 |
+
st.write(prompt)
|