Rekey commited on
Commit
c9bfff4
·
verified ·
1 Parent(s): d4b59a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -282,11 +282,9 @@ theme_apps = App()
282
 
283
 
284
 
285
- with gr.Blocks(fill_height=True, theme=theme_apps) as demo:
286
- with gr.Sidebar():
287
- gr.Markdown("# Inference Provider")
288
- 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.")
289
- button = gr.LoginButton("Sign in")
290
- gr.load("models/HuggingFaceH4/zephyr-7b-beta", accept_token=button, provider="hf-inference")
291
-
292
- demo.launch()
 
282
 
283
 
284
 
285
+
286
+ gr.load(
287
+ "models/HuggingFaceH4/zephyr-7b-beta",
288
+ provider="hf-inference",
289
+ theme=theme_apps,
290
+ ).launch()