Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load models
|
5 |
-
translation_pipeline = pipeline("translation", model="Helsinki-NLP/opus-mt-
|
6 |
text_generation_pipeline = pipeline("text-generation", model="gpt2")
|
7 |
|
8 |
# Simulated image generation (replace with Hugging Face Diffusers or similar if needed)
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load models
|
5 |
+
translation_pipeline = pipeline("translation", model="Helsinki-NLP/opus-mt-mul-en")
|
6 |
text_generation_pipeline = pipeline("text-generation", model="gpt2")
|
7 |
|
8 |
# Simulated image generation (replace with Hugging Face Diffusers or similar if needed)
|