Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -2,11 +2,11 @@ from fastapi import FastAPI, File, UploadFile
|
|
2 |
from fastapi.responses import StreamingResponse
|
3 |
import os
|
4 |
import io
|
5 |
-
temp = open("
|
6 |
temp.write("aaaaaaaaaaaaa")
|
7 |
temp.close()
|
8 |
|
9 |
-
temp = open("
|
10 |
|
11 |
app = FastAPI()
|
12 |
|
|
|
2 |
from fastapi.responses import StreamingResponse
|
3 |
import os
|
4 |
import io
|
5 |
+
temp = open("t.txt","w")
|
6 |
temp.write("aaaaaaaaaaaaa")
|
7 |
temp.close()
|
8 |
|
9 |
+
temp = open("t.txt","r")
|
10 |
|
11 |
app = FastAPI()
|
12 |
|