startup-chatbot / app.py
lucadillenburg's picture
try
c81a4ba
raw
history blame
253 Bytes
"""
Chat Interface App
"""
import gradio as gr
import sys
from .axolotl import test_func
def generate(instruction):
return "Hello " + instruction + "!" + test_func()
iface = gr.Interface(fn=generate, inputs="text", outputs="text")
iface.launch()