ysharma HF staff commited on
Commit
9100daa
1 Parent(s): b8a41e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -2,12 +2,14 @@ import os
2
  import gradio as gr
3
  from gradio_client import Client
4
 
5
- # Setting up environment variable to access private spaces via Gradio clients
6
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
 
 
7
 
8
  # Initializing Gradio Python Clients for the two Llama chatbots
9
- client_llama3_1 = Client("ysharma/Chat_with_Meta_llama3_1_8b_dupe", hf_token=HF_TOKEN)
10
- client_llama3 = Client("ysharma/Chat_with_Meta_llama3_8b_dupe", hf_token=HF_TOKEN)
11
 
12
 
13
  css = """
 
2
  import gradio as gr
3
  from gradio_client import Client
4
 
5
+ # Setting up environment variables to access private spaces via Gradio clients
6
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
7
+ LLAMA_3 = os.environ.get("LLAMA_3", None)
8
+ LLAMA_3_1 = os.environ.get("LLAMA_3_1", None)
9
 
10
  # Initializing Gradio Python Clients for the two Llama chatbots
11
+ client_llama3_1 = Client(f"{LLAMA_3_1}", hf_token=HF_TOKEN)
12
+ client_llama3 = Client(f"{LLAMA_3}", hf_token=HF_TOKEN)
13
 
14
 
15
  css = """