mistermprah commited on
Commit
1b108a9
1 Parent(s): dbd813e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -140,10 +140,9 @@ historical_data_iface = gr.Interface(
140
  )
141
 
142
  # Combine interfaces
143
- with gr.Blocks() as app:
144
- with gr.TabbedInterface():
145
- iface.render()
146
- next_month_iface.render()
147
- historical_data_iface.render()
148
 
149
  app.launch()
 
140
  )
141
 
142
  # Combine interfaces
143
+ app = gr.TabbedInterface(
144
+ interface_list=[iface, next_month_iface, historical_data_iface],
145
+ tab_names=["Predict Today's Price", "Predict Next Month's Price", "View Historical Data"]
146
+ )
 
147
 
148
  app.launch()