Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,12 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
9 |
import torch
|
10 |
import streamlit as st
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
# --- Data Processing Class ---
|
13 |
class DataProcessor:
|
14 |
def __init__(self):
|
@@ -425,12 +431,7 @@ def render_chat():
|
|
425 |
|
426 |
# Replace the existing render_chat() function in your main.py with this implementation
|
427 |
def main():
|
428 |
-
|
429 |
-
page_title="Prospira",
|
430 |
-
page_icon="π",
|
431 |
-
layout="wide",
|
432 |
-
initial_sidebar_state="expanded"
|
433 |
-
)
|
434 |
|
435 |
with st.sidebar:
|
436 |
st.title("Prospira")
|
|
|
9 |
import torch
|
10 |
import streamlit as st
|
11 |
|
12 |
+
st.set_page_config(
|
13 |
+
page_title="Prospira",
|
14 |
+
page_icon="π",
|
15 |
+
layout="wide",
|
16 |
+
initial_sidebar_state="expanded"
|
17 |
+
)
|
18 |
# --- Data Processing Class ---
|
19 |
class DataProcessor:
|
20 |
def __init__(self):
|
|
|
431 |
|
432 |
# Replace the existing render_chat() function in your main.py with this implementation
|
433 |
def main():
|
434 |
+
|
|
|
|
|
|
|
|
|
|
|
435 |
|
436 |
with st.sidebar:
|
437 |
st.title("Prospira")
|