Nymbo commited on
Commit
1cbfba6
·
verified ·
1 Parent(s): 2cdcb68

Modernize: Gradio 6.29, default Python, password token field

Browse files
Files changed (3) hide show
  1. README.md +1 -2
  2. app.py +1 -1
  3. requirements.txt +1 -0
README.md CHANGED
@@ -4,10 +4,9 @@ emoji: 🐨
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 3.16.2
8
  app_file: app.py
9
  pinned: false
10
- python_version: 3.9
11
  license: apache-2.0
12
  ---
13
 
 
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 6.29.0
8
  app_file: app.py
9
  pinned: false
 
10
  license: apache-2.0
11
  ---
12
 
app.py CHANGED
@@ -111,7 +111,7 @@ demo = gr.Interface(
111
  description="**See instructions below the form.**",
112
  fn=get_release_notes,
113
  inputs=[
114
- gr.components.Textbox(lines=1, placeholder="Your GitHub token"),
115
  gr.components.Textbox(
116
  lines=1, placeholder="Repository", value="huggingface/transformers"
117
  ),
 
111
  description="**See instructions below the form.**",
112
  fn=get_release_notes,
113
  inputs=[
114
+ gr.components.Textbox(lines=1, placeholder="Your GitHub token", type="password"),
115
  gr.components.Textbox(
116
  lines=1, placeholder="Repository", value="huggingface/transformers"
117
  ),
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ requests