Spaces:
Sleeping
Sleeping
Update test.py
Browse files
test.py
CHANGED
@@ -6,7 +6,7 @@ pipe = pipeline("translation_en_to_fr", model="t5-base")
|
|
6 |
def translate(text):
|
7 |
return pipe(text)[0]['translation_text']
|
8 |
|
9 |
-
|
10 |
with gr.Blocks() as demo:
|
11 |
with gr.Row():
|
12 |
with gr.Column():
|
|
|
6 |
def translate(text):
|
7 |
return pipe(text)[0]['translation_text']
|
8 |
|
9 |
+
|
10 |
with gr.Blocks() as demo:
|
11 |
with gr.Row():
|
12 |
with gr.Column():
|