Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,10 @@ with gr.Blocks() as iface:
|
|
51 |
|
52 |
btn = gr.Button("Generate")
|
53 |
btn.click(generate_text, [input_text, max_new_tokens, temperature, top_p, split_output], output)
|
54 |
-
|
|
|
|
|
|
|
55 |
# Launch the interface
|
56 |
if __name__ == "__main__":
|
57 |
iface.launch(inline=True)
|
|
|
51 |
|
52 |
btn = gr.Button("Generate")
|
53 |
btn.click(generate_text, [input_text, max_new_tokens, temperature, top_p, split_output], output)
|
54 |
+
|
55 |
+
# Embed the custom JavaScript
|
56 |
+
gr.HTML("<script src='script.js'></script>")
|
57 |
+
|
58 |
# Launch the interface
|
59 |
if __name__ == "__main__":
|
60 |
iface.launch(inline=True)
|