Spaces:
Sleeping
Sleeping
Commit
·
a61d0da
1
Parent(s):
3f18d63
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
6 |
|
7 |
temperature = 0
|
8 |
|
9 |
-
input = st.
|
10 |
|
11 |
if st.button("Submit", type="primary"):
|
12 |
st.markdown("----")
|
@@ -23,5 +23,5 @@ if st.button("Submit", type="primary"):
|
|
23 |
if chunk_content is not None:
|
24 |
content.append(chunk_content)
|
25 |
result = "".join(content).strip()
|
26 |
-
res_box.markdown(result)
|
27 |
st.markdown("----")
|
|
|
6 |
|
7 |
temperature = 0
|
8 |
|
9 |
+
input = st.text_area("Input")
|
10 |
|
11 |
if st.button("Submit", type="primary"):
|
12 |
st.markdown("----")
|
|
|
23 |
if chunk_content is not None:
|
24 |
content.append(chunk_content)
|
25 |
result = "".join(content).strip()
|
26 |
+
res_box.markdown(f"```\n{result}\n```")
|
27 |
st.markdown("----")
|