Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,8 @@ interface = gradio.Interface(
|
|
| 58 |
)
|
| 59 |
|
| 60 |
# Add a `predict()` method to the Gradio app.
|
| 61 |
-
def predict(
|
|
|
|
| 62 |
# Use the model to predict the output.
|
| 63 |
output = model(text)
|
| 64 |
|
|
|
|
| 58 |
)
|
| 59 |
|
| 60 |
# Add a `predict()` method to the Gradio app.
|
| 61 |
+
def predict(name):
|
| 62 |
+
return "Hello " + name + "!!"
|
| 63 |
# Use the model to predict the output.
|
| 64 |
output = model(text)
|
| 65 |
|