git add app.py git commit -m "Add application file" git push
Browse files
app.py
CHANGED
|
@@ -4,4 +4,8 @@ def greet(name):
|
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
-
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
+
iface.launch()
|
| 8 |
+
|
| 9 |
+
demo = gr.load("Helsinki-NLP/opus-mt-en-es", src="models")
|
| 10 |
+
|
| 11 |
+
demo.launch()
|