Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,9 @@ def generar_prompt(personaje, idioma):
|
|
34 |
prompt = generar_cadena(personaje, idioma)
|
35 |
return prompt
|
36 |
|
37 |
-
value1 = gr.inputs.Textbox(label="
|
38 |
-
value2 = gr.inputs.Radio(choices=["
|
39 |
-
value3 = gr.outputs.Textbox(label="
|
40 |
|
41 |
examples = [
|
42 |
["Satan"],
|
|
|
34 |
prompt = generar_cadena(personaje, idioma)
|
35 |
return prompt
|
36 |
|
37 |
+
value1 = gr.inputs.Textbox(label="Character", placeholder="Enter the character...")
|
38 |
+
value2 = gr.inputs.Radio(choices=["English", "Spanish"], label="Select the language")
|
39 |
+
value3 = gr.outputs.Textbox(label="Prompt")
|
40 |
|
41 |
examples = [
|
42 |
["Satan"],
|