Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,3 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import pandas as pd
|
3 |
-
import torch
|
4 |
-
from transformers import MarianMTModel, MarianTokenizer
|
5 |
-
|
6 |
# Load the fine-tuned MarianMT model and tokenizer
|
7 |
# Replace with the path to your model directory
|
8 |
model_dir = '/content/drive/MyDrive/fine_tuned_marian' # Replace with the correct path
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Load the fine-tuned MarianMT model and tokenizer
|
2 |
# Replace with the path to your model directory
|
3 |
model_dir = '/content/drive/MyDrive/fine_tuned_marian' # Replace with the correct path
|