moslem commited on
Commit
0ac87a5
·
verified ·
1 Parent(s): 6e0fb57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,8 +7,7 @@ translator_en_fa = pipeline("translation_en_to_fa", model="opus-mt-en-zh")
7
 
8
  @app.get("/")
9
  def home():
10
- return {"message": "Welcome to English–Switzerland
11
- Translator!"}
12
 
13
  @app.get("/translate")
14
  def translate(text: str = Query(...)):
 
7
 
8
  @app.get("/")
9
  def home():
10
+ return {"message": "Welcome to English–Switzerland Translator!"}
 
11
 
12
  @app.get("/translate")
13
  def translate(text: str = Query(...)):