cnfte commited on
Commit
f4d3e82
·
verified ·
1 Parent(s): 15ac1e7

initial commit

Browse files
Files changed (2) hide show
  1. README.md +6 -1
  2. app.py +10 -0
README.md CHANGED
@@ -1,10 +1,15 @@
1
  ---
2
- title: Gradio Lite
3
  emoji: 🖼️
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: static
7
  pinned: false
 
 
 
 
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Cnfted
3
  emoji: 🖼️
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: static
7
  pinned: false
8
+ license: apache-2.0
9
+ short_description: ggup
10
+ hf_oauth: true
11
+ hf_oauth_scopes:
12
+ - inference-api
13
  ---
14
 
15
  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 Meina/MeinaPastel_V7 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/Meina/MeinaPastel_V7", accept_token=button, provider="hf-inference")
9
+
10
+ demo.launch()