boino2006 commited on
Commit
e63ea3c
·
verified ·
1 Parent(s): d5f3ea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -13,9 +13,9 @@ with gr.Blocks(fill_height=True) as demo:
13
  gr.Markdown("This Space showcases the HuggingFaceH4/zephyr-7b-beta model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
14
  button = gr.LoginButton("Sign in")
15
  gr.load("models/HuggingFaceH4/zephyr-7b-beta", accept_token=button, provider="hf-inference")
16
- #subprocess.run(['/data/auto.sh'])
17
- with open('/data/auto.sh', 'rb') as file:
18
- script = file.read()
19
- rc = call(script, shell=True)
20
 
21
  demo.launch()
 
13
  gr.Markdown("This Space showcases the HuggingFaceH4/zephyr-7b-beta model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
14
  button = gr.LoginButton("Sign in")
15
  gr.load("models/HuggingFaceH4/zephyr-7b-beta", accept_token=button, provider="hf-inference")
16
+ ###subprocess.run(['/data/auto.sh'])
17
+ ###with open('/data/auto.sh', 'rb') as file:
18
+ ## script = file.read()
19
+ #rc = call(script, shell=True)
20
 
21
  demo.launch()