File size: 534 Bytes
17c5099
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ecbc9c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import logging

import gradio as gr
from config import BaseConfig
from predict import inputs, outputs, predict

if __name__ == "__main__":
    logging.basicConfig(format="[%(asctime)s] %(levelname)s: %(message)s")
    config = BaseConfig()

    app = gr.Interface(
        predict,
        inputs=inputs,
        outputs=outputs,
        title="Text-to-Meow",
        description="Ever thought of whether your cat understands your words? It no longer matters! Now you get to speak in their language!",
    ).launch()