Spaces:
Sleeping
Sleeping
File size: 320 Bytes
bf1ec05 248d4f4 bf1ec05 2769ffd bf1ec05 2769ffd bf1ec05 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
import gpt
print(gpt.get_response("test"))
"""
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
"""
demo = gr.Interface(fn=gpt.get_response, inputs="textbox", outputs="textbox")
if __name__ == "__main__":
demo.launch() |