Spaces:
Paused
Paused
derek-thomas
commited on
Commit
·
fe2edcc
1
Parent(s):
f863672
Fix wakeup button
Browse files
app.py
CHANGED
|
@@ -108,7 +108,6 @@ with gr.Blocks() as demo:
|
|
| 108 |
endpoint_status = RichTextbox(check_endpoint_status, label="Inference Endpoint Status", every=1)
|
| 109 |
with gr.Column(scale=1):
|
| 110 |
wakeup_endpoint = gr.Button('Click to Wake Up Endpoint')
|
| 111 |
-
wakeup_endpoint.click(partial(generate('Wakeup')))
|
| 112 |
with gr.Tab("Arabic-RAG"):
|
| 113 |
chatbot = gr.Chatbot(
|
| 114 |
[],
|
|
@@ -195,6 +194,7 @@ with gr.Blocks() as demo:
|
|
| 195 |
|
| 196 |
# Turn it back on
|
| 197 |
hyde_txt_msg.then(lambda: gr.Textbox(interactive=True), None, [hyde_txt], queue=False)
|
|
|
|
| 198 |
|
| 199 |
demo.queue()
|
| 200 |
demo.launch(debug=True)
|
|
|
|
| 108 |
endpoint_status = RichTextbox(check_endpoint_status, label="Inference Endpoint Status", every=1)
|
| 109 |
with gr.Column(scale=1):
|
| 110 |
wakeup_endpoint = gr.Button('Click to Wake Up Endpoint')
|
|
|
|
| 111 |
with gr.Tab("Arabic-RAG"):
|
| 112 |
chatbot = gr.Chatbot(
|
| 113 |
[],
|
|
|
|
| 194 |
|
| 195 |
# Turn it back on
|
| 196 |
hyde_txt_msg.then(lambda: gr.Textbox(interactive=True), None, [hyde_txt], queue=False)
|
| 197 |
+
wakeup_endpoint.click(partial(generate,'Wakeup'))
|
| 198 |
|
| 199 |
demo.queue()
|
| 200 |
demo.launch(debug=True)
|