T3lli commited on
Commit
013bfec
·
verified ·
1 Parent(s): 80974fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -43,15 +43,7 @@ def respond(
43
  """
44
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
45
  """
46
- with gr.Blocks() as demo:
47
- # Adding a label at the top of the page
48
- gr.Markdown(
49
- """
50
- # Welcome to My Chat Interface
51
- This app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.
52
- Adjust the parameters below to customize the chat behavior.
53
- """
54
- )
55
  demo = gr.ChatInterface(
56
  respond,
57
  additional_inputs=[
@@ -70,4 +62,13 @@ demo = gr.ChatInterface(
70
 
71
 
72
  if __name__ == "__main__":
 
 
 
 
 
 
 
 
 
73
  demo.launch()
 
43
  """
44
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
45
  """
46
+
 
 
 
 
 
 
 
 
47
  demo = gr.ChatInterface(
48
  respond,
49
  additional_inputs=[
 
62
 
63
 
64
  if __name__ == "__main__":
65
+ with gr.Blocks() as demo:
66
+ # Adding a label at the top of the page
67
+ gr.Markdown(
68
+ """
69
+ # Welcome to My Chat Interface
70
+ This app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.
71
+ Adjust the parameters below to customize the chat behavior.
72
+ """
73
+ )
74
  demo.launch()