Update app.py
Browse files
app.py
CHANGED
|
@@ -13,13 +13,10 @@ def generate_completion(user_prompt):
|
|
| 13 |
)
|
| 14 |
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
input_labels="frase",
|
| 23 |
-
output_labels="prediccion")
|
| 24 |
|
| 25 |
-
iface.launch()
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
|
| 16 |
+
def greet(name):
|
| 17 |
+
return "Hello " + name + "!!"
|
| 18 |
+
|
| 19 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 20 |
+
iface.launch()
|
| 21 |
+
|
|
|
|
|
|
|
| 22 |
|
|
|