File size: 173 Bytes
214ff23 |
1 2 3 4 5 6 7 |
import gradio as gr
def predict_answer(question):
return f'You asked: {question}'
iface = gr.Interface(fn=predict_answer, inputs='text', outputs='text')
iface.launch() |
214ff23 |
1 2 3 4 5 6 7 |
import gradio as gr
def predict_answer(question):
return f'You asked: {question}'
iface = gr.Interface(fn=predict_answer, inputs='text', outputs='text')
iface.launch() |