AbdulHadi806 commited on
Commit
55e5fa2
·
verified ·
1 Parent(s): 27e455f

added torch

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from transformers import T5ForConditionalGeneration, RobertaTokenizer
 
3
 
4
  # Load the quantized model and tokenizer from Hugging Face Hub
5
  quantized_model = T5ForConditionalGeneration.from_pretrained("AbdulHadi806/codet5-finetuned-latest-quantized")
 
1
  import gradio as gr
2
  from transformers import T5ForConditionalGeneration, RobertaTokenizer
3
+ import torch
4
 
5
  # Load the quantized model and tokenizer from Hugging Face Hub
6
  quantized_model = T5ForConditionalGeneration.from_pretrained("AbdulHadi806/codet5-finetuned-latest-quantized")