danrdoran commited on
Commit
e18a107
·
verified ·
1 Parent(s): f4d3e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -1,11 +1,5 @@
1
  import streamlit as st
2
  from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
3
- import os
4
- from huggingface_hub import login
5
-
6
- # Retrieve the token from environment variable
7
- hf_token = os.getenv("TUTOR_LLAMA")
8
- login(token=hf_token)
9
 
10
  # Load Math Arabic LLaMA model and tokenizer
11
  tokenizer = AutoTokenizer.from_pretrained("Jr23xd23/Math_Arabic_Llama-3.2-3B-Instruct")
 
1
  import streamlit as st
2
  from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
 
 
 
 
 
 
3
 
4
  # Load Math Arabic LLaMA model and tokenizer
5
  tokenizer = AutoTokenizer.from_pretrained("Jr23xd23/Math_Arabic_Llama-3.2-3B-Instruct")