Diego Salinas commited on
Commit
1bfe6c3
·
verified ·
1 Parent(s): a9403eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def plot_portfolio():
26
  # Return the image path
27
  return image_path
28
 
29
- # Define a placeholder input (Slider with 0-1 range)
30
- placeholder_input = gr.Slider(0, 1, default=0, label='Placeholder Input')
31
 
32
  # Define the Gradio interface
33
  iface = gr.Interface(
@@ -43,3 +43,4 @@ iface.launch()
43
 
44
 
45
 
 
 
26
  # Return the image path
27
  return image_path
28
 
29
+ # Define a placeholder input (Text with a default value)
30
+ placeholder_input = gr.Textbox(default='Placeholder Input', label='Placeholder Input')
31
 
32
  # Define the Gradio interface
33
  iface = gr.Interface(
 
43
 
44
 
45
 
46
+