LLaMA-7B / app.py
chansung's picture
Create app.py
1ffd977
raw
history blame
No virus
379 Bytes
import gradio as gr
def chat(user_input):
bot_response = "hello world"
response = ""
for word in bot_response.split(" "):
response = response + " " + word
yield response
with gr.Blocks() as demo:
chatbot = gr.Chatbot()
textbox = gr.Textbox("Hello, how are you doing today?")
textbox.submit(chat, textbox, chatbot)
demo.queue().launch()