Loguie commited on
Commit
33a9295
·
verified ·
1 Parent(s): a79f724

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,5 +1,3 @@
1
- print("ts pmo")
2
-
3
  import gradio as gr
4
 
5
  with gr.Blocks(fill_height=True) as demo:
@@ -7,6 +5,11 @@ with gr.Blocks(fill_height=True) as demo:
7
  gr.Markdown("# Inference Provider")
8
  gr.Markdown("This Space showcases the google/pegasus-xsum model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
9
  button = gr.LoginButton("Sign in")
 
 
 
 
 
10
  gr.load("models/google/pegasus-xsum", accept_token=button, provider="hf-inference")
11
 
12
  demo.launch()
 
 
 
1
  import gradio as gr
2
 
3
  with gr.Blocks(fill_height=True) as demo:
 
5
  gr.Markdown("# Inference Provider")
6
  gr.Markdown("This Space showcases the google/pegasus-xsum model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
7
  button = gr.LoginButton("Sign in")
8
+ button = gr.LoginButton("Sign in")
9
+ button = gr.LoginButton("Sign in")
10
+ button = gr.LoginButton("Sign in")
11
+ button = gr.LoginButton("Sign in")
12
+ button = gr.LoginButton("Sign in")
13
  gr.load("models/google/pegasus-xsum", accept_token=button, provider="hf-inference")
14
 
15
  demo.launch()