Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,9 @@ def generate_text(prompt):
|
|
| 18 |
)
|
| 19 |
return response.choices[0].text.strip()
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
# Create Gradio interface
|
| 22 |
password_box = gr.Textbox(label="Enter password", type="password")
|
| 23 |
input_text = gr.Textbox(label="Enter prompt", type="text")
|
|
|
|
| 18 |
)
|
| 19 |
return response.choices[0].text.strip()
|
| 20 |
|
| 21 |
+
def placeholder_fn():
|
| 22 |
+
pass
|
| 23 |
+
|
| 24 |
# Create Gradio interface
|
| 25 |
password_box = gr.Textbox(label="Enter password", type="password")
|
| 26 |
input_text = gr.Textbox(label="Enter prompt", type="text")
|