KingNish commited on
Commit
3f15e00
1 Parent(s): 6b65897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -65,7 +65,9 @@ description="# Chat GO\n### Enter your query and Press enter and get lightning f
65
 
66
  demo = gr.Interface(description=description,fn=models, inputs=["text"], outputs="text")
67
  demo2 = gr.Interface(description="Very low but critical thinker",fn=nemo, inputs=["text"], outputs="text", api_name="critical_thinker", concurrency_limit=10)
 
 
 
 
68
  demo.queue(max_size=300000)
69
- demo.launch()
70
- demo2.queue(max_size=300000)
71
- demo2.launch()
 
65
 
66
  demo = gr.Interface(description=description,fn=models, inputs=["text"], outputs="text")
67
  demo2 = gr.Interface(description="Very low but critical thinker",fn=nemo, inputs=["text"], outputs="text", api_name="critical_thinker", concurrency_limit=10)
68
+
69
+ with gr.Blocks() as demo:
70
+ gr.TabbedInterface([demo, demo2] , ["Fast", "Critical"])
71
+
72
  demo.queue(max_size=300000)
73
+ demo.launch()