Add application file
Browse files
app.py
CHANGED
|
@@ -9,10 +9,7 @@ import numpy as np
|
|
| 9 |
import streamlit as st
|
| 10 |
st.title('Code Generation')
|
| 11 |
huggingface_dataset_name = "red1xe/code_instructions"
|
| 12 |
-
|
| 13 |
-
with st.spinner('Loading Dataset...'):
|
| 14 |
-
dataset = load_dataset(huggingface_dataset_name)
|
| 15 |
-
st.write(dataset)
|
| 16 |
|
| 17 |
if st.button("Load Model"):
|
| 18 |
with st.spinner('Loading Model...'):
|
|
|
|
| 9 |
import streamlit as st
|
| 10 |
st.title('Code Generation')
|
| 11 |
huggingface_dataset_name = "red1xe/code_instructions"
|
| 12 |
+
dataset = load_dataset(huggingface_dataset_name)
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
if st.button("Load Model"):
|
| 15 |
with st.spinner('Loading Model...'):
|