fix broken thing

This commit is contained in:
pngwn 2022-03-11 16:09:32 +00:00
parent 163806c4f6
commit a81bc41565
2 changed files with 1 additions and 9 deletions

View File

@ -3,7 +3,7 @@ Name: gradio
Version: 2.8.5
Summary: Python library for easily interacting with trained machine learning models
Home-page: https://github.com/gradio-app/gradio-UI
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq, Pete Allen, Ömer Faruk Özdemir
Author-email: team@gradio.app
License: Apache License 2.0
Keywords: machine learning,visualization,reproducibility

View File

@ -1,20 +1,12 @@
from __future__ import annotations
<<<<<<< HEAD
from gradio.component import Component
=======
from gradio.components import Component
>>>>>>> Blocks-Components
class StaticComponent(Component):
def __init__(self, label: str):
self.component_type = "static"
<<<<<<< HEAD
super().__init__(label)
=======
super().__init__(label=label)
>>>>>>> Blocks-Components
def process(self, y):
"""