Update app.py
Browse files
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 |
-
|
| 67 |
-
|
|
|
|
|
|
|
| 68 |
|
| 69 |
with gr.Blocks() as demo:
|
| 70 |
-
gr.TabbedInterface([
|
| 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()
|