miso1234456 commited on
Commit
a1f09d2
·
verified ·
1 Parent(s): 528cf10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
-
 
4
  # Set up the pipeline
5
  med_pipe = pipeline("text-generation", model="OpenBioLLM-70B", trust_remote_code=True)
6
 
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ import os
4
+ hf_token = os.getenv("HF_TOKEN")
5
  # Set up the pipeline
6
  med_pipe = pipeline("text-generation", model="OpenBioLLM-70B", trust_remote_code=True)
7