Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import MarianMTModel, MarianTokenizer
|
3 |
|
4 |
# Load the model and tokenizer from the Hub
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import MarianMTModel, MarianTokenizer
|
4 |
|
5 |
# Load the model and tokenizer from the Hub
|