queue
Browse files
app.py
CHANGED
|
@@ -73,7 +73,6 @@ css_code = ".gradio-container {background-image: url('file=background.png');back
|
|
| 73 |
with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
| 74 |
|
| 75 |
openai.api_key = os.environ["api_key"]
|
| 76 |
-
|
| 77 |
user_id = gr.State([get_random_string(10)])
|
| 78 |
|
| 79 |
with gr.Tab("App"):
|
|
@@ -159,4 +158,4 @@ with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
|
| 159 |
with gr.Tab("Examples"):
|
| 160 |
gr.Markdown("See here some examples on how to use the Chatbot")
|
| 161 |
|
| 162 |
-
demo.
|
|
|
|
| 73 |
with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
| 74 |
|
| 75 |
openai.api_key = os.environ["api_key"]
|
|
|
|
| 76 |
user_id = gr.State([get_random_string(10)])
|
| 77 |
|
| 78 |
with gr.Tab("App"):
|
|
|
|
| 158 |
with gr.Tab("Examples"):
|
| 159 |
gr.Markdown("See here some examples on how to use the Chatbot")
|
| 160 |
|
| 161 |
+
demo.queue(concurrency_count=16)
|