mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
refactored flagging
This commit is contained in:
parent
fa78beddb0
commit
62c0a73e1f
@ -28,8 +28,8 @@ class FlaggingHandler(ABC):
|
||||
@abstractmethod
|
||||
def setup(self):
|
||||
"""
|
||||
This method should be overridden and ensure that everything is set up correctly for the flagging.
|
||||
This method gets called at the beginning of the Interface.launch() method.
|
||||
This method should be overridden and ensure that everything is set up correctly for flag().
|
||||
This method gets called once at the beginning of the Interface.launch() method.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user