Commit
·
cb7fe33
1
Parent(s):
bbb3627
Add root endpoint to return "Hello World!"
Browse files
main.py
CHANGED
|
@@ -235,6 +235,11 @@ async def predict_language(
|
|
| 235 |
return predictions
|
| 236 |
|
| 237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
# app_title = "Dataset Language Detection"
|
| 239 |
# app_description = "Detect the language of a dataset on the Hub"
|
| 240 |
# inputs = [
|
|
|
|
| 235 |
return predictions
|
| 236 |
|
| 237 |
|
| 238 |
+
@app.get("/")
|
| 239 |
+
def read_root():
|
| 240 |
+
return {"Hello": "World!"}
|
| 241 |
+
|
| 242 |
+
|
| 243 |
# app_title = "Dataset Language Detection"
|
| 244 |
# app_description = "Detect the language of a dataset on the Hub"
|
| 245 |
# inputs = [
|