Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,8 @@ def respond(prompt, max_length, min_length, max_new_tokens, num_beams, temperatu
|
|
41 |
#response = correct_text(prompt, max_length, max_new_tokens, min_length, num_beams, temperature, top_p)
|
42 |
return prompt
|
43 |
|
44 |
-
def update_prompt(
|
45 |
-
return
|
46 |
|
47 |
# Create the Gradio interface
|
48 |
with gr.Blocks() as demo:
|
|
|
41 |
#response = correct_text(prompt, max_length, max_new_tokens, min_length, num_beams, temperature, top_p)
|
42 |
return prompt
|
43 |
|
44 |
+
def update_prompt(prompt):
|
45 |
+
return prompt
|
46 |
|
47 |
# Create the Gradio interface
|
48 |
with gr.Blocks() as demo:
|