mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
Block-Components
- comment
This commit is contained in:
parent
fd3980a0e5
commit
c32d3aafa4
@ -27,6 +27,7 @@ if TYPE_CHECKING: # Only import for type checking (is False at runtime).
|
||||
from gradio import Interface
|
||||
|
||||
|
||||
# TODO: (faruk) Remove this file in version 3.0
|
||||
class Textbox(Textbox):
|
||||
def __init__(
|
||||
self,
|
||||
|
@ -2,6 +2,7 @@ from __future__ import annotations
|
||||
|
||||
from gradio.components import Component
|
||||
|
||||
# TODO: (faruk) Remove this file in version 3.0
|
||||
|
||||
class StaticComponent(Component):
|
||||
def __init__(self, label: str):
|
||||
|
Loading…
Reference in New Issue
Block a user