Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def concatenate_and_generate(text1, text2, temperature, top_p):
|
|
| 23 |
return generated_text
|
| 24 |
|
| 25 |
# Define Gradio interface
|
| 26 |
-
with gr.Blocks() as demo:
|
| 27 |
gr.Markdown("# Text Concatenation and Generation with FLAN-T5")
|
| 28 |
gr.Markdown("Concatenate two input texts and generate an output using google/flan-t5-large. Adjust the temperature and top_p parameters for different generation behaviors.")
|
| 29 |
|
|
|
|
| 23 |
return generated_text
|
| 24 |
|
| 25 |
# Define Gradio interface
|
| 26 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 27 |
gr.Markdown("# Text Concatenation and Generation with FLAN-T5")
|
| 28 |
gr.Markdown("Concatenate two input texts and generate an output using google/flan-t5-large. Adjust the temperature and top_p parameters for different generation behaviors.")
|
| 29 |
|