Pr123 commited on
Commit
8cbf8ae
1 Parent(s): ffa21fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,11 +26,11 @@ def chat_with_tinyllm(prompt):
26
  def chat_interface():
27
  iface = gr.Interface(
28
  fn=chat_with_tinyllm,
29
- inputs=gr.inputs.Textbox(lines=2, placeholder="Type your question here..."),
30
  outputs="text",
31
  title="Chat with TinyLlama",
32
  description="This is a simple chatbot powered by a fine-tuned model on Hugging Face. If it doesn't know the answer, it will say so.")
33
  return iface
34
 
35
  iface = chat_interface()
36
- iface.launch()
 
26
  def chat_interface():
27
  iface = gr.Interface(
28
  fn=chat_with_tinyllm,
29
+ inputs=gr.Textbox(lines=2, placeholder="Type your question here..."),
30
  outputs="text",
31
  title="Chat with TinyLlama",
32
  description="This is a simple chatbot powered by a fine-tuned model on Hugging Face. If it doesn't know the answer, it will say so.")
33
  return iface
34
 
35
  iface = chat_interface()
36
+ iface.launch()