ajeetkumar01 commited on
Commit
d3f3263
·
verified ·
1 Parent(s): 7283ba2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -2,10 +2,11 @@ import streamlit as st
2
  import pandas as pd
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
  import torch
5
- from huggingface_hub import login # For authentication
6
  import os
7
- from dotenv import load_dotenv
 
8
  load_dotenv()
 
9
 
10
  # Authenticate with Hugging Face
11
  def authenticate_huggingface():
 
2
  import pandas as pd
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
  import torch
 
5
  import os
6
+ from huggingface_hub import login
7
+ from dotenv import load_dotenv()
8
  load_dotenv()
9
+ # token = os.environ['YOUR_ACCESS_TOKEN_VARIABLE']
10
 
11
  # Authenticate with Hugging Face
12
  def authenticate_huggingface():