Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|
|
|
|