Spaces:
Runtime error
Runtime error
fix: update textbox label
Browse files- app.py +2 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -69,11 +69,13 @@ with gr.Blocks() as demo:
|
|
69 |
)
|
70 |
|
71 |
input_text = gr.Textbox(
|
|
|
72 |
value=DEFAULT_INPUT_TEXT,
|
73 |
placeholder="私の名前は...",
|
74 |
lines=2,
|
75 |
)
|
76 |
output_text = gr.Textbox(
|
|
|
77 |
value="",
|
78 |
placeholder="ここに出力が表示されます...",
|
79 |
lines=8,
|
|
|
69 |
)
|
70 |
|
71 |
input_text = gr.Textbox(
|
72 |
+
label="Input text",
|
73 |
value=DEFAULT_INPUT_TEXT,
|
74 |
placeholder="私の名前は...",
|
75 |
lines=2,
|
76 |
)
|
77 |
output_text = gr.Textbox(
|
78 |
+
label="Output text",
|
79 |
value="",
|
80 |
placeholder="ここに出力が表示されます...",
|
81 |
lines=8,
|
requirements.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
torch
|
2 |
transformers==4.34.0
|
3 |
numpy
|
4 |
-
timm
|
|
|
|
1 |
torch
|
2 |
transformers==4.34.0
|
3 |
numpy
|
4 |
+
timm
|
5 |
+
safetensors
|