Sakalti commited on
Commit
64807d8
·
verified ·
1 Parent(s): e74e5f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -38,12 +38,12 @@ def convert_and_deploy(url, model_name, hf_username, hf_token):
38
  iface = gr.Interface(
39
  fn=convert_and_deploy,
40
  inputs=[
41
- gr.inputs.Textbox(label="セーフテンソルURL"),
42
- gr.inputs.Textbox(label="モデル名"),
43
- gr.inputs.Textbox(label="Hugging Face ユーザー名"),
44
- gr.inputs.Textbox(label="Hugging Face Write Token")
45
  ],
46
- outputs=gr.outputs.Textbox(label="結果"),
47
  title="モデルの変換とデプロイ",
48
  description="セーフテンソルURL、モデル名、Hugging Face ユーザー名、およびHugging Face Write Tokenを入力して、モデルをfloat16に変換し、Hugging Faceにデプロイします。"
49
  )
 
38
  iface = gr.Interface(
39
  fn=convert_and_deploy,
40
  inputs=[
41
+ gr.Text(label="セーフテンソルURL"),
42
+ gr.Text(label="モデル名"),
43
+ gr.Text(label="Hugging Face ユーザー名"),
44
+ gr.Text(label="Hugging Face Write Token")
45
  ],
46
+ outputs=gr.Text(label="結果"),
47
  title="モデルの変換とデプロイ",
48
  description="セーフテンソルURL、モデル名、Hugging Face ユーザー名、およびHugging Face Write Tokenを入力して、モデルをfloat16に変換し、Hugging Faceにデプロイします。"
49
  )