Spaces:
Sleeping
Sleeping
Moibe commited on
Commit ·
c5ca3b6
1
Parent(s): bb9fc95
Inputs Debit Fixed
Browse files
app.py
CHANGED
|
@@ -42,6 +42,6 @@ with gr.Blocks() as demo:
|
|
| 42 |
text_output = gr.Textbox()
|
| 43 |
|
| 44 |
access_btn.click(fn=getAccess, inputs=text_input, outputs=text_output, api_name="getTokens")
|
| 45 |
-
debit_btn.click(fn=debitToken, inputs=number_input, outputs=text_output, api_name="debitTokens")
|
| 46 |
|
| 47 |
demo.launch()
|
|
|
|
| 42 |
text_output = gr.Textbox()
|
| 43 |
|
| 44 |
access_btn.click(fn=getAccess, inputs=text_input, outputs=text_output, api_name="getTokens")
|
| 45 |
+
debit_btn.click(fn=debitToken, inputs=[text_input, number_input], outputs=text_output, api_name="debitTokens")
|
| 46 |
|
| 47 |
demo.launch()
|