Spaces:
Build error
Build error
Commit
·
c5dd0e1
1
Parent(s):
f095e6e
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
with gr.Blocks() as demo:
|
4 |
+
with gr.Tab("Translate to Spanish"):
|
5 |
+
gr.load("gradio/helsinki_translation_en_es", src="spaces")
|
6 |
+
with gr.Tab("Translate to French"):
|
7 |
+
gr.load("abidlabs/en2fr", src="spaces")
|
8 |
+
|
9 |
+
demo.launch()
|