Spaces:
Running
Running
Update app.py
Browse files
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.
|
42 |
-
gr.
|
43 |
-
gr.
|
44 |
-
gr.
|
45 |
],
|
46 |
-
outputs=gr.
|
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 |
)
|