Spaces:
Running
Running
nothere990
commited on
Commit
•
d2b7267
1
Parent(s):
0daf736
changed
Browse files- index.html +2 -2
- main.py +1 -1
- static/docs.html +3 -3
- static/index.html +1 -1
index.html
CHANGED
@@ -151,7 +151,7 @@ print(response.json())</code></pre>
|
|
151 |
<div class="code-block">
|
152 |
<pre><code>import requests
|
153 |
|
154 |
-
url = "https://
|
155 |
|
156 |
with open(file_path, "rb") as file:
|
157 |
files = {"file": file}
|
@@ -166,7 +166,7 @@ print(response_json)</code></pre>
|
|
166 |
<div class="code-block">
|
167 |
<pre><code>import requests
|
168 |
|
169 |
-
url = f"https://
|
170 |
|
171 |
with open(file_path, "rb") as file:
|
172 |
files = {"file": file}
|
|
|
151 |
<div class="code-block">
|
152 |
<pre><code>import requests
|
153 |
|
154 |
+
url = "https://xyz69-ryuzaki-api.hf.space/akeno/toanime"
|
155 |
|
156 |
with open(file_path, "rb") as file:
|
157 |
files = {"file": file}
|
|
|
166 |
<div class="code-block">
|
167 |
<pre><code>import requests
|
168 |
|
169 |
+
url = f"https://xyz69-ryuzaki-api.hf.space/akeno/remini?remini_api_key={your_api_here}"
|
170 |
|
171 |
with open(file_path, "rb") as file:
|
172 |
files = {"file": file}
|
main.py
CHANGED
@@ -889,7 +889,7 @@ async def upload_file(file: UploadFile = File(...)):
|
|
889 |
f.write(await file.read())
|
890 |
return JSONResponse(
|
891 |
status_code=200,
|
892 |
-
content={"url": f"https://
|
893 |
)
|
894 |
except Exception as e:
|
895 |
return JSONResponse(
|
|
|
889 |
f.write(await file.read())
|
890 |
return JSONResponse(
|
891 |
status_code=200,
|
892 |
+
content={"url": f"https://xyz69-ryuzaki-api.hf.space/uploads/{unique_filename}"}
|
893 |
)
|
894 |
except Exception as e:
|
895 |
return JSONResponse(
|
static/docs.html
CHANGED
@@ -151,7 +151,7 @@ print(response.json())</code></pre>
|
|
151 |
<div class="code-block">
|
152 |
<pre><code>import requests
|
153 |
|
154 |
-
url = "https://
|
155 |
|
156 |
with open(file_path, "rb") as file:
|
157 |
files = {"file": file}
|
@@ -165,7 +165,7 @@ print(response_json)</code></pre>
|
|
165 |
<div class="code-block">
|
166 |
<pre><code>import requests
|
167 |
|
168 |
-
url = f"https://
|
169 |
|
170 |
with open(file_path, "rb") as file:
|
171 |
files = {"file": file}
|
@@ -179,7 +179,7 @@ print(response_json)</code></pre>
|
|
179 |
<div class="code-block">
|
180 |
<pre><code>import requests
|
181 |
|
182 |
-
url = "https://
|
183 |
|
184 |
data = {
|
185 |
"user_id": 1191668125,
|
|
|
151 |
<div class="code-block">
|
152 |
<pre><code>import requests
|
153 |
|
154 |
+
url = "https://xyz69-ryuzaki-api.hf.space/akeno/toanime"
|
155 |
|
156 |
with open(file_path, "rb") as file:
|
157 |
files = {"file": file}
|
|
|
165 |
<div class="code-block">
|
166 |
<pre><code>import requests
|
167 |
|
168 |
+
url = f"https://xyz69-ryuzaki-api.hf.space/akeno/remini?remini_api_key={your_api_here}"
|
169 |
|
170 |
with open(file_path, "rb") as file:
|
171 |
files = {"file": file}
|
|
|
179 |
<div class="code-block">
|
180 |
<pre><code>import requests
|
181 |
|
182 |
+
url = "https://xyz69-ryuzaki-api.hf.space/api/v1/akeno/fluxai"
|
183 |
|
184 |
data = {
|
185 |
"user_id": 1191668125,
|
static/index.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8 |
<meta charset="UTF-8">
|
9 |
<meta property="og:title" content="TOOLS AKENO" />
|
10 |
-
<meta property="og:url" content="https://
|
11 |
<link href='/static/styles.css' rel='stylesheet'>
|
12 |
<link href="images/favicon.png" rel="icon">
|
13 |
<link href="images/favicon.png" rel="apple-touch-icon">
|
|
|
7 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8 |
<meta charset="UTF-8">
|
9 |
<meta property="og:title" content="TOOLS AKENO" />
|
10 |
+
<meta property="og:url" content="https://xyz69-ryuzaki-api.hf.space" />
|
11 |
<link href='/static/styles.css' rel='stylesheet'>
|
12 |
<link href="images/favicon.png" rel="icon">
|
13 |
<link href="images/favicon.png" rel="apple-touch-icon">
|