Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Terry Zhuo
commited on
Commit
•
b31403f
1
Parent(s):
4e93785
update
Browse files
app.py
CHANGED
@@ -206,10 +206,6 @@ with gr.Blocks() as demo:
|
|
206 |
inputs=[command_output, jsonl_file, subset, split],
|
207 |
outputs=[log_output, download_btn])
|
208 |
|
209 |
-
@app.get("/")
|
210 |
-
def read_main():
|
211 |
-
return {"message": "This is your main app"}
|
212 |
-
|
213 |
@app.post("/kill_process")
|
214 |
async def api_kill_process():
|
215 |
kill_process()
|
|
|
206 |
inputs=[command_output, jsonl_file, subset, split],
|
207 |
outputs=[log_output, download_btn])
|
208 |
|
|
|
|
|
|
|
|
|
209 |
@app.post("/kill_process")
|
210 |
async def api_kill_process():
|
211 |
kill_process()
|