jim
commited on
Commit
·
b6b2ac8
1
Parent(s):
e808ace
- .idea/workspace.xml +2 -1
- app.py +0 -7
- main.py → app/main.py +1 -1
- code/requirements.txt +0 -6
.idea/workspace.xml
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="23754dc3-94e8-4ffe-a953-cf1948654bbd" name="Changes" comment="">
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
|
|
| 9 |
</list>
|
| 10 |
<option name="SHOW_DIALOG" value="false" />
|
| 11 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -48,7 +49,7 @@
|
|
| 48 |
<option name="number" value="Default" />
|
| 49 |
<option name="presentableId" value="Default" />
|
| 50 |
<updated>1701393739235</updated>
|
| 51 |
-
<workItem from="1701393743113" duration="
|
| 52 |
</task>
|
| 53 |
<servers />
|
| 54 |
</component>
|
|
|
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="23754dc3-94e8-4ffe-a953-cf1948654bbd" name="Changes" comment="">
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
+
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" />
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
|
| 49 |
<option name="number" value="Default" />
|
| 50 |
<option name="presentableId" value="Default" />
|
| 51 |
<updated>1701393739235</updated>
|
| 52 |
+
<workItem from="1701393743113" duration="6270000" />
|
| 53 |
</task>
|
| 54 |
<servers />
|
| 55 |
</component>
|
app.py
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
from fastapi import FastAPI
|
| 2 |
-
|
| 3 |
-
app = FastAPI()
|
| 4 |
-
|
| 5 |
-
@app.get("/")
|
| 6 |
-
def read_root():
|
| 7 |
-
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main.py → app/main.py
RENAMED
|
@@ -4,4 +4,4 @@ app = FastAPI()
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def read_root():
|
| 7 |
-
return {"
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
def read_root():
|
| 7 |
+
return {"message": "Hello, World!"}
|
code/requirements.txt
DELETED
|
@@ -1,6 +0,0 @@
|
|
| 1 |
-
fastapi==0.74.*
|
| 2 |
-
requests==2.27.*
|
| 3 |
-
sentencepiece==0.1.*
|
| 4 |
-
torch==1.11.*
|
| 5 |
-
transformers==4.*
|
| 6 |
-
uvicorn[standard]==0.17.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|