Spaces:
Runtime error
Runtime error
θζ³ζΊ
commited on
Commit
Β·
ba82b7a
1
Parent(s):
3d115fa
update
Browse files- app.py +4 -4
- demo/NY.npy +0 -0
app.py
CHANGED
@@ -62,11 +62,11 @@ with gr.Blocks() as demo:
|
|
62 |
gr.Markdown("## FLP&IUMFLP Solver")
|
63 |
with gr.Column():
|
64 |
with gr.Row():
|
65 |
-
|
66 |
data_file = gr.UploadButton(
|
67 |
-
label="π Upload a
|
68 |
file_count="multiple",
|
69 |
-
file_types=[".
|
70 |
with gr.Row():
|
71 |
boost = gr.Checkbox(label="Turbo Boost", value=False)
|
72 |
btn2 = gr.Button(value="π Generate")
|
@@ -82,7 +82,7 @@ with gr.Blocks() as demo:
|
|
82 |
|
83 |
gr.Examples(
|
84 |
examples=get_example(),
|
85 |
-
inputs=[
|
86 |
fn=plot_from_json,
|
87 |
outputs=[actual_map, solution_map],
|
88 |
)
|
|
|
62 |
gr.Markdown("## FLP&IUMFLP Solver")
|
63 |
with gr.Column():
|
64 |
with gr.Row():
|
65 |
+
data_npy = gr.Textbox(label="Input")
|
66 |
data_file = gr.UploadButton(
|
67 |
+
label="π Upload a npy file",
|
68 |
file_count="multiple",
|
69 |
+
file_types=[".npy"])
|
70 |
with gr.Row():
|
71 |
boost = gr.Checkbox(label="Turbo Boost", value=False)
|
72 |
btn2 = gr.Button(value="π Generate")
|
|
|
82 |
|
83 |
gr.Examples(
|
84 |
examples=get_example(),
|
85 |
+
inputs=[data_npy],
|
86 |
fn=plot_from_json,
|
87 |
outputs=[actual_map, solution_map],
|
88 |
)
|
demo/NY.npy
ADDED
The diff for this file is too large to render.
See raw diff
|
|