Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
|
|
4 |
return a
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
-
fn = some_func
|
8 |
[
|
9 |
gr.Dataframe(
|
10 |
headers=["English", "Dutch"],
|
@@ -20,5 +21,5 @@ demo = gr.Interface(
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
gr.Interface.load("models/Helsinki-NLP/opus-mt-en-nl").launch()
|
23 |
-
demo.launch()
|
24 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def translate(a):
|
4 |
+
|
5 |
return a
|
6 |
|
7 |
demo = gr.Interface(
|
8 |
+
fn = some_func,
|
9 |
[
|
10 |
gr.Dataframe(
|
11 |
headers=["English", "Dutch"],
|
|
|
21 |
|
22 |
if __name__ == "__main__":
|
23 |
gr.Interface.load("models/Helsinki-NLP/opus-mt-en-nl").launch()
|
24 |
+
#demo.launch()
|
25 |
|