aliabid94 HF staff commited on
Commit
af34194
1 Parent(s): bc662b9

Upload folder using huggingface_hub

Browse files
requirements.txt CHANGED
@@ -1 +1 @@
1
- gradio_modal-0.0.1-py3-none-any.whl
 
1
+ gradio_modal==0.0.1
src/backend/gradio_modal/modal.py CHANGED
@@ -1,8 +1,5 @@
1
  from __future__ import annotations
2
 
3
- import warnings
4
- from typing import Literal
5
-
6
  from gradio_client.documentation import document, set_documentation_group
7
 
8
  from gradio.blocks import BlockContext
@@ -38,7 +35,7 @@ class Modal(BlockContext, metaclass=ComponentMeta):
38
  ):
39
  """
40
  Parameters:
41
- visible: If False, column will be hidden.
42
  elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
43
  elem_classes: An optional string or list of strings that are assigned as the class of this component in the HTML DOM. Can be used for targeting CSS styles.
44
  allow_user_close: If True, user can close the modal (by clicking outside, clicking the X, or the escape key).
 
1
  from __future__ import annotations
2
 
 
 
 
3
  from gradio_client.documentation import document, set_documentation_group
4
 
5
  from gradio.blocks import BlockContext
 
35
  ):
36
  """
37
  Parameters:
38
+ visible: If False, modal will be hidden.
39
  elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
40
  elem_classes: An optional string or list of strings that are assigned as the class of this component in the HTML DOM. Can be used for targeting CSS styles.
41
  allow_user_close: If True, user can close the modal (by clicking outside, clicking the X, or the escape key).