alibidaran
commited on
Commit
•
76a4b71
1
Parent(s):
078ca72
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import torch
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
3 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
4 |
tokenizer = AutoTokenizer.from_pretrained("alibidaran/medical_transcription_generator")
|
5 |
|
|
|
1 |
import torch
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
+
import gradio as gr
|
4 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
5 |
tokenizer = AutoTokenizer.from_pretrained("alibidaran/medical_transcription_generator")
|
6 |
|