Spaces:
Runtime error
Runtime error
nileshhanotia
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-1.7B-Instruct")
|
7 |
|
8 |
# Streamlit UI
|
9 |
st.title("ChatGPT Clone")
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("AIDC-AI/Marco-o1")
|
5 |
+
model = AutoModelForCausalLM.from_pretrained("AIDC-AI/Marco-o1")
|
|
|
6 |
|
7 |
# Streamlit UI
|
8 |
st.title("ChatGPT Clone")
|