msaifee commited on
Commit
20ea8ef
1 Parent(s): bf86fa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ import os
2
  import gradio as gr
3
  from huggingface_hub import login
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
 
5
 
6
  # Fetch API token from environment variable
7
  api_token = os.getenv("Llama_Token")
 
2
  import gradio as gr
3
  from huggingface_hub import login
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
5
+ import torch
6
+ from transformers import pipeline
7
 
8
  # Fetch API token from environment variable
9
  api_token = os.getenv("Llama_Token")