Spaces:
Sleeping
Sleeping
abdulllah01
commited on
Commit
•
08ff18c
1
Parent(s):
13f0f90
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
3 |
|
4 |
# Load the model and tokenizer from your Hugging Face Hub repository
|
5 |
-
model_name = "abdulllah01/
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
7 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
8 |
|
|
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
3 |
|
4 |
# Load the model and tokenizer from your Hugging Face Hub repository
|
5 |
+
model_name = "abdulllah01/outputs" # Replace with your Hugging Face repo name
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
7 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
8 |
|