Spaces:
Runtime error
Runtime error
ArdaSaygan
commited on
Commit
·
98a941b
1
Parent(s):
028139c
modified text
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ with gr.Blocks() as demo:
|
|
| 44 |
|
| 45 |
chatbot = gr.Chatbot().style(height=460)
|
| 46 |
input = gr.Textbox(label="Messeage")
|
| 47 |
-
nextBtn = gr.Button("
|
| 48 |
nextBtn.click(generateResponse, input, chatbot, scroll_to_output=True, show_progress=True)
|
| 49 |
|
| 50 |
debatePoll = gr.Textbox(label="Poll")
|
|
@@ -52,7 +52,7 @@ with gr.Blocks() as demo:
|
|
| 52 |
pollinizeButton.click(pollinize,None, debatePoll, scroll_to_output=True, show_progress=True)
|
| 53 |
|
| 54 |
apikey = gr.Textbox(label="API Key")
|
| 55 |
-
apiUpload = gr.Button("Upload api key")
|
| 56 |
apiUpload.click(uploadApi, apikey, None, scroll_to_output=True, show_progress=True)
|
| 57 |
|
| 58 |
demo.launch()
|
|
|
|
| 44 |
|
| 45 |
chatbot = gr.Chatbot().style(height=460)
|
| 46 |
input = gr.Textbox(label="Messeage")
|
| 47 |
+
nextBtn = gr.Button("Send message")
|
| 48 |
nextBtn.click(generateResponse, input, chatbot, scroll_to_output=True, show_progress=True)
|
| 49 |
|
| 50 |
debatePoll = gr.Textbox(label="Poll")
|
|
|
|
| 52 |
pollinizeButton.click(pollinize,None, debatePoll, scroll_to_output=True, show_progress=True)
|
| 53 |
|
| 54 |
apikey = gr.Textbox(label="API Key")
|
| 55 |
+
apiUpload = gr.Button("Upload custom api key")
|
| 56 |
apiUpload.click(uploadApi, apikey, None, scroll_to_output=True, show_progress=True)
|
| 57 |
|
| 58 |
demo.launch()
|