freemt
commited on
Commit
•
ec8204f
1
Parent(s):
f1b0e4e
Debug
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with demo:
|
|
107 |
dedent(
|
108 |
"""
|
109 |
## Model Details
|
110 |
-
Refer to [the space](https://huggingface.co/spaces/EuroPython2022/Translate-with-Bloom) created by [Kishore](https://www.linkedin.com/in/kishore-kunisetty-925a3919a/)
|
111 |
please like his project to support his contribution to EuroPython22.
|
112 |
"""
|
113 |
).strip()
|
@@ -125,8 +125,8 @@ with demo:
|
|
125 |
)
|
126 |
|
127 |
input_prompt = gr.Textbox(
|
128 |
-
label="Enter a sentence: ",
|
129 |
-
value="This is a test
|
130 |
lines=4,
|
131 |
)
|
132 |
|
|
|
107 |
dedent(
|
108 |
"""
|
109 |
## Model Details
|
110 |
+
Refer to [the space](https://huggingface.co/spaces/EuroPython2022/Translate-with-Bloom) created by [Kishore](https://www.linkedin.com/in/kishore-kunisetty-925a3919a/) for participating in [EuroPython22](https://huggingface.co/EuroPython2022)
|
111 |
please like his project to support his contribution to EuroPython22.
|
112 |
"""
|
113 |
).strip()
|
|
|
125 |
)
|
126 |
|
127 |
input_prompt = gr.Textbox(
|
128 |
+
label=f"Enter a sentence in {from_lang}: ",
|
129 |
+
value="This is a test, yet another test.",
|
130 |
lines=4,
|
131 |
)
|
132 |
|