Spaces:
Sleeping
Sleeping
nam pham
commited on
Commit
·
09f6a8d
1
Parent(s):
2573d67
feat: expose other port
Browse files- app/server.py +1 -1
- client.py +1 -1
app/server.py
CHANGED
@@ -167,4 +167,4 @@ if __name__ == "__main__":
|
|
167 |
|
168 |
server = ls.LitServer(api, track_requests=True)
|
169 |
|
170 |
-
server.run(port=
|
|
|
167 |
|
168 |
server = ls.LitServer(api, track_requests=True)
|
169 |
|
170 |
+
server.run(port=7860)
|
client.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import requests
|
2 |
|
3 |
-
url = "http://localhost:
|
4 |
|
5 |
# Example inputs
|
6 |
lang_code = "a" # American English
|
|
|
1 |
import requests
|
2 |
|
3 |
+
url = "http://localhost:7860/predict"
|
4 |
|
5 |
# Example inputs
|
6 |
lang_code = "a" # American English
|