KingNish commited on
Commit
2f34a1d
1 Parent(s): 3f15e00

Update app.py

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