Spaces:
Runtime error
Runtime error
Update
Browse files- react-qa/package.json +1 -1
- server.py +0 -7
react-qa/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "react-qa",
|
3 |
-
"homepage": "https://
|
4 |
"version": "0.1.0",
|
5 |
"private": true,
|
6 |
"dependencies": {
|
|
|
1 |
{
|
2 |
"name": "react-qa",
|
3 |
+
"homepage": "https://hf.space/embed/p208p2002/Transformer-QA-Decode-Visualize",
|
4 |
"version": "0.1.0",
|
5 |
"private": true,
|
6 |
"dependencies": {
|
server.py
CHANGED
@@ -29,13 +29,6 @@ class QAItem(BaseModel):
|
|
29 |
context:str
|
30 |
|
31 |
# https://hf.space/embed/{user}/{space}
|
32 |
-
# {"raw_url":"http://spaces.huggingface.tech/?__theme=light"}
|
33 |
-
# https://spaces.huggingface.tech/p208p2002/Transformer-QA-Decode-Visualize/
|
34 |
-
|
35 |
-
# @app.get("/")
|
36 |
-
# async def main(request: Request):
|
37 |
-
# print(request.url._url)
|
38 |
-
# return {"raw_url": request.url._url}
|
39 |
|
40 |
@app.get("/")
|
41 |
def read_root():
|
|
|
29 |
context:str
|
30 |
|
31 |
# https://hf.space/embed/{user}/{space}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
@app.get("/")
|
34 |
def read_root():
|