Spaces:
Sleeping
Sleeping
Florin Bobiș
commited on
Commit
•
8fb9a6e
1
Parent(s):
509f644
changes
Browse files- flask_api.py → api/index.py +0 -0
- test.http +6 -0
- vercel.json +3 -0
flask_api.py → api/index.py
RENAMED
File without changes
|
test.http
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
POST http://localhost:5000/generate
|
2 |
+
Content-Type: application/json
|
3 |
+
|
4 |
+
{
|
5 |
+
"input_text": "hai sa vedem cat de repede reusesti sa traduci acest text. aplicatia mea este scrisa in cateva ore fara prea mult efort si stradanie intelectuala."
|
6 |
+
}
|
vercel.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"rewrites": [{ "source": "/(.*)", "destination": "/api/index" }]
|
3 |
+
}
|