File size: 343 Bytes
bdc2e68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr

def predict(input_text):
    return f"Ezt gondolom: {input_text}"

interface = gr.Interface(
    fn=predict,
    inputs="text",
    outputs="text",
    title="Utazási tanácsadó",
    description="Adjon meg egy országot vagy kérdést, és segítek!"
)

if __name__ == "__main__":
    interface.launch()