mistermprah commited on
Commit
dbd813e
1 Parent(s): 59137fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -140,9 +140,10 @@ historical_data_iface = gr.Interface(
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()
 
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()