Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import time
|
| 2 |
import shutil
|
| 3 |
import gradio as gr
|
| 4 |
-
from fastapi import FastAPI
|
| 5 |
from data4co import TSPConcordeSolver, draw_tsp_problem, draw_tsp_solution
|
| 6 |
|
| 7 |
|
|
@@ -140,5 +139,5 @@ with gr.Blocks() as tsp_page:
|
|
| 140 |
)
|
| 141 |
|
| 142 |
|
| 143 |
-
|
| 144 |
-
|
|
|
|
| 1 |
import time
|
| 2 |
import shutil
|
| 3 |
import gradio as gr
|
|
|
|
| 4 |
from data4co import TSPConcordeSolver, draw_tsp_problem, draw_tsp_solution
|
| 5 |
|
| 6 |
|
|
|
|
| 139 |
)
|
| 140 |
|
| 141 |
|
| 142 |
+
if __name__ == "__main__":
|
| 143 |
+
tsp_page.launch(debug = True)
|