Spaces:
Sleeping
Sleeping
added App in ui.py
Browse files
ui.py
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
| 3 |
def return_html_file(files):
|
| 4 |
# Just return the path to the static HTML file
|
| 5 |
return "/Users/arielkeslassy/PycharmProjects/RoutePlanner/optimized_route_visual.html"
|
| 6 |
|
|
|
|
| 7 |
iface = gr.Interface(
|
| 8 |
fn=return_html_file,
|
| 9 |
inputs=gr.File(file_types=[".pdf"], file_count="multiple"),
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
|
| 4 |
def return_html_file(files):
|
| 5 |
# Just return the path to the static HTML file
|
| 6 |
return "/Users/arielkeslassy/PycharmProjects/RoutePlanner/optimized_route_visual.html"
|
| 7 |
|
| 8 |
+
|
| 9 |
iface = gr.Interface(
|
| 10 |
fn=return_html_file,
|
| 11 |
inputs=gr.File(file_types=[".pdf"], file_count="multiple"),
|