Amirhosein commited on
Commit
511d264
·
1 Parent(s): 5023734
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,13 +2,13 @@ import gradio as gr
2
  from axis_finder import gradio_inference
3
 
4
  def run_axis_finder(input_str):
5
- input_str = input_str.split('')
6
  print(input_str)
7
  return gradio_inference(input_str[0], input_str[1], input_str[2])
8
 
9
  demo = gr.Interface(
10
  run_axis_finder,
11
- gr.Textbox(value="""0.7 (44,119) 2
12
  Road Access[0.1:0.9], Starting Point(y,x), Carbon Prefix[0:7]
13
  Road Access setups the ratio of accessibility for each divided two parts.
14
  Starting Point is a tuple of pixel location for the algorithm to start its road construction.
 
2
  from axis_finder import gradio_inference
3
 
4
  def run_axis_finder(input_str):
5
+ input_str = input_str.split(' ')
6
  print(input_str)
7
  return gradio_inference(input_str[0], input_str[1], input_str[2])
8
 
9
  demo = gr.Interface(
10
  run_axis_finder,
11
+ gr.Textbox(value="""0.7 (44,119) 2
12
  Road Access[0.1:0.9], Starting Point(y,x), Carbon Prefix[0:7]
13
  Road Access setups the ratio of accessibility for each divided two parts.
14
  Starting Point is a tuple of pixel location for the algorithm to start its road construction.