Dhahlan2000 commited on
Commit
175c7c9
·
verified ·
1 Parent(s): fe172d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM, AutoModelForCausalLM
3
  from aksharamukha import transliterate
4
  import torch
 
5
 
6
  # Set up device
7
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
2
  from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM, AutoModelForCausalLM
3
  from aksharamukha import transliterate
4
  import torch
5
+ from huggingface_hub import InferenceClient
6
 
7
  # Set up device
8
  device = "cuda" if torch.cuda.is_available() else "cpu"