Spaces:
Runtime error
Runtime error
Fix
Browse files- README.md +1 -1
- src/visualization/visualize.py +0 -4
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💯
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: red
|
6 |
sdk: streamlit
|
7 |
-
app_file: visualization/visualize.py
|
8 |
pinned: false
|
9 |
---
|
10 |
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: red
|
6 |
sdk: streamlit
|
7 |
+
app_file: src/visualization/visualize.py
|
8 |
pinned: false
|
9 |
---
|
10 |
|
src/visualization/visualize.py
CHANGED
@@ -1,7 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
import os
|
3 |
-
retval = os.getcwd()
|
4 |
-
os.chdir("src/")
|
5 |
from src.models.predict_model import predict_model
|
6 |
|
7 |
|
@@ -13,7 +10,6 @@ def visualize():
|
|
13 |
https://www.linkedin.com/in/gbhatia30/) or [Github](https://github.com/gagan3012).*
|
14 |
"""
|
15 |
)
|
16 |
-
st.write(retval)
|
17 |
|
18 |
text = st.text_area("Enter text here")
|
19 |
if st.button("Generate Summary"):
|
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
2 |
from src.models.predict_model import predict_model
|
3 |
|
4 |
|
|
|
10 |
https://www.linkedin.com/in/gbhatia30/) or [Github](https://github.com/gagan3012).*
|
11 |
"""
|
12 |
)
|
|
|
13 |
|
14 |
text = st.text_area("Enter text here")
|
15 |
if st.button("Generate Summary"):
|