cipherunhsiv commited on
Commit
4fe609d
·
verified ·
1 Parent(s): 2ebc037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -126,7 +126,6 @@ with gr.Blocks() as demo:
126
 
127
  with gr.Row():
128
  symbol_input = gr.Textbox(label="Stock Symbol", placeholder="Enter a stock symbol (e.g., AAPL)")
129
- model_path_input = gr.Textbox(label="Model Path", value="best.pt", placeholder="Path to YOLO model file")
130
  submit_button = gr.Button("Detect Patterns")
131
 
132
  with gr.Row():
@@ -139,7 +138,7 @@ with gr.Blocks() as demo:
139
  # Run detection when the button is clicked
140
  submit_button.click(
141
  fn=detect_gap_patterns,
142
- inputs=[symbol_input, model_path_input],
143
  outputs=[output_image, gap_up_output, gap_down_output]
144
  )
145
 
 
126
 
127
  with gr.Row():
128
  symbol_input = gr.Textbox(label="Stock Symbol", placeholder="Enter a stock symbol (e.g., AAPL)")
 
129
  submit_button = gr.Button("Detect Patterns")
130
 
131
  with gr.Row():
 
138
  # Run detection when the button is clicked
139
  submit_button.click(
140
  fn=detect_gap_patterns,
141
+ inputs=symbol_input,
142
  outputs=[output_image, gap_up_output, gap_down_output]
143
  )
144