Spaces:
Configuration error
Configuration error
from resources import GradioModule, register, InterLauncher | |
import gradio as gr | |
class Greeting: | |
def Hello_World(self, name): | |
return f"Hello {name}, and welcome to Gradio Flow 🤗" | |
def add(self, x, y): | |
return x + y | |
if __name__ == "__main__": | |
# run just gradio | |
# Greeting().launch() | |
# run it within Gradio-flow | |
Greeting().launch(listen=2000) | |