wolfaiOM commited on
Commit
b054180
Β·
verified Β·
1 Parent(s): 0800426

initial commit

Browse files
Files changed (2) hide show
  1. README.md +6 -1
  2. app.py +10 -0
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Chat Ui Template
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: blue
@@ -7,6 +7,11 @@ sdk: docker
7
  pinned: false
8
  app_port: 3000
9
  suggested_hardware: a10g-small
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Google
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: blue
 
7
  pinned: false
8
  app_port: 3000
9
  suggested_hardware: a10g-small
10
+ license: apache-2.0
11
+ short_description: Ai
12
+ hf_oauth: true
13
+ hf_oauth_scopes:
14
+ - inference-api
15
  ---
16
 
17
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks(fill_height=True) as demo:
4
+ with gr.Sidebar():
5
+ gr.Markdown("# Inference Provider")
6
+ gr.Markdown("This Space showcases the google/embeddinggemma-300m 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
+ gr.load("models/google/embeddinggemma-300m", accept_token=button, provider="hf-inference")
9
+
10
+ demo.launch()