Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from library_summarizer import llm_lib_summarizer_v1
|
| 3 |
from command_generator import llm_lib_installer_v1
|
| 4 |
|
| 5 |
-
st.title("📂 Compatible Library
|
| 6 |
|
| 7 |
imported_libraries = st.text_area("Enter the libraries you are importing in your ipynb file:", height=200)
|
| 8 |
api_key = st.text_input("Enter your Groq API Key:", type="password")
|
|
@@ -17,7 +17,7 @@ if uploaded_file is not None:
|
|
| 17 |
|
| 18 |
# Read the file (decode for text files)
|
| 19 |
|
| 20 |
-
if st.button("Generate
|
| 21 |
if imported_libraries and uploaded_file:
|
| 22 |
library = imported_libraries
|
| 23 |
libraries = uploaded_file.read().decode("utf-8")
|
|
|
|
| 2 |
from library_summarizer import llm_lib_summarizer_v1
|
| 3 |
from command_generator import llm_lib_installer_v1
|
| 4 |
|
| 5 |
+
st.title("📂 Compatible Library Version Generator")
|
| 6 |
|
| 7 |
imported_libraries = st.text_area("Enter the libraries you are importing in your ipynb file:", height=200)
|
| 8 |
api_key = st.text_input("Enter your Groq API Key:", type="password")
|
|
|
|
| 17 |
|
| 18 |
# Read the file (decode for text files)
|
| 19 |
|
| 20 |
+
if st.button("Generate pip command"):
|
| 21 |
if imported_libraries and uploaded_file:
|
| 22 |
library = imported_libraries
|
| 23 |
libraries = uploaded_file.read().decode("utf-8")
|