Shanat commited on
Commit
d011c4f
1 Parent(s): 3286bde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ import os
11
 
12
 
13
  #chatbot = pipeline(model="NCSOFT/Llama-3-OffsetBias-8B")
14
- token = os.getenv("HF_TOKEN")
15
  chatbot = pipeline(model="meta-llama/Llama-3.2-1B", use_auth_token=token)
16
  #chatbot = pipeline(model="facebook/blenderbot-400M-distill")
17
 
@@ -26,4 +26,4 @@ def vanilla_chatbot(message, history):
26
 
27
  demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Vanilla Chatbot", description="Enter text to start chatting.")
28
 
29
- demo_chatbot.launch()
 
11
 
12
 
13
  #chatbot = pipeline(model="NCSOFT/Llama-3-OffsetBias-8B")
14
+ token = os.getenv(HF_TOKEN)
15
  chatbot = pipeline(model="meta-llama/Llama-3.2-1B", use_auth_token=token)
16
  #chatbot = pipeline(model="facebook/blenderbot-400M-distill")
17
 
 
26
 
27
  demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Vanilla Chatbot", description="Enter text to start chatting.")
28
 
29
+ demo_chatbot.launch(True)