Spaces:
Runtime error
Runtime error
russkiyximik commited on
Commit ·
e55269c
1
Parent(s): 81ac89c
cleanup 2
Browse files- mycoder/app.py +2 -2
- mycoder/src/inner/config/tasks.yaml +0 -2
mycoder/app.py
CHANGED
|
@@ -3,7 +3,7 @@ import streamlit as st
|
|
| 3 |
from mycoder.src.inner.main import run
|
| 4 |
|
| 5 |
st.title("OmicsFuseRX Demo")
|
| 6 |
-
st.write("This is a demo
|
| 7 |
|
| 8 |
if "temp_file_path" not in st.session_state: # Ensures temp_file_path is only set once
|
| 9 |
st.session_state.temp_file_path = None
|
|
@@ -18,7 +18,7 @@ if uploaded_file is not None and st.session_state.temp_file_path is None:
|
|
| 18 |
st.success(f"File uploaded and saved as {st.session_state.temp_file_path}")
|
| 19 |
|
| 20 |
st.write(f"Make sure to specify the correct file name in your query, " \
|
| 21 |
-
f"e.g.
|
| 22 |
question = st.text_input("Enter your query:")
|
| 23 |
|
| 24 |
if st.button("Run OmicsFuseRX"):
|
|
|
|
| 3 |
from mycoder.src.inner.main import run
|
| 4 |
|
| 5 |
st.title("OmicsFuseRX Demo")
|
| 6 |
+
st.write("This is a demo for the OmicsFuseRX application.")
|
| 7 |
|
| 8 |
if "temp_file_path" not in st.session_state: # Ensures temp_file_path is only set once
|
| 9 |
st.session_state.temp_file_path = None
|
|
|
|
| 18 |
st.success(f"File uploaded and saved as {st.session_state.temp_file_path}")
|
| 19 |
|
| 20 |
st.write(f"Make sure to specify the correct file name in your query, " \
|
| 21 |
+
f"e.g. 'Generate a scatterplot for {st.session_state.temp_file_path or 'Iris.csv'}'")
|
| 22 |
question = st.text_input("Enter your query:")
|
| 23 |
|
| 24 |
if st.button("Run OmicsFuseRX"):
|
mycoder/src/inner/config/tasks.yaml
CHANGED
|
@@ -3,8 +3,6 @@ coding_task:
|
|
| 3 |
Write python code to achieve this: {assignment}.
|
| 4 |
|
| 5 |
Make sure to save any plots generated by the code as 'output/plot.png'.
|
| 6 |
-
|
| 7 |
-
Note: do not tell the user to open any output files.
|
| 8 |
expected_output: >
|
| 9 |
A text file that includes the code itself, any comments/explanation,
|
| 10 |
and the output of the code.
|
|
|
|
| 3 |
Write python code to achieve this: {assignment}.
|
| 4 |
|
| 5 |
Make sure to save any plots generated by the code as 'output/plot.png'.
|
|
|
|
|
|
|
| 6 |
expected_output: >
|
| 7 |
A text file that includes the code itself, any comments/explanation,
|
| 8 |
and the output of the code.
|