mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
Update client.py: Docs typo (#7585)
This commit is contained in:
parent
24626ea362
commit
2de329d8cf
@ -523,21 +523,21 @@ class Client:
|
||||
'parameters': [
|
||||
{
|
||||
'label': 'num1',
|
||||
'type_python': 'int | float',
|
||||
'python_type': 'int | float',
|
||||
'type_description': 'numeric value',
|
||||
'component': 'Number',
|
||||
'example_input': '5'
|
||||
},
|
||||
{
|
||||
'label': 'operation',
|
||||
'type_python': 'str',
|
||||
'python_type': 'str',
|
||||
'type_description': 'string value',
|
||||
'component': 'Radio',
|
||||
'example_input': 'add'
|
||||
},
|
||||
{
|
||||
'label': 'num2',
|
||||
'type_python': 'int | float',
|
||||
'python_type': 'int | float',
|
||||
'type_description': 'numeric value',
|
||||
'component': 'Number',
|
||||
'example_input': '5'
|
||||
@ -546,7 +546,7 @@ class Client:
|
||||
'returns': [
|
||||
{
|
||||
'label': 'output',
|
||||
'type_python': 'int | float',
|
||||
'python_type': 'int | float',
|
||||
'type_description': 'numeric value',
|
||||
'component': 'Number',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user