Florin Bobiș commited on
Commit
8fb9a6e
1 Parent(s): 509f644
Files changed (3) hide show
  1. flask_api.py → api/index.py +0 -0
  2. test.http +6 -0
  3. 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
+ }