Spaces:
Sleeping
Sleeping
import gradio as gr | |
from utils.get_answer import get_answer | |
title = "HouseMD bot" | |
description = "Gradio Demo for telegram bot.\ | |
To use it, simply add your text message.\ | |
I've used the API on this Space to deploy the model on a Telegram bot." | |
interface = gr.Interface( | |
fn=get_answer, | |
inputs=gr.Textbox(label="Input message to House MD", lines=3), | |
outputs=gr.Textbox(label="House MD's answer"), | |
title=title, | |
description=description | |
) | |
interface.launch() |