gokaygokay
commited on
Commit
•
1836ce5
1
Parent(s):
c2537ba
buttons
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def create_interface():
|
|
61 |
)
|
62 |
api_key = gr.Textbox(label="API Key", type="password", visible=False)
|
63 |
model = gr.Dropdown(label="Model", choices=["llama-3.1-70b-versatile", "mixtral-8x7b-32768", "gemma2-9b-it"], value="llama-3.1-70b-versatile")
|
64 |
-
|
65 |
# **Single Button for Generating Prompt and Text**
|
66 |
generate_button = gr.Button("Generate Random Prompt with LLM")
|
67 |
text_output = gr.Textbox(label="LLM Generated Text", lines=10, show_copy_button=True)
|
|
|
61 |
)
|
62 |
api_key = gr.Textbox(label="API Key", type="password", visible=False)
|
63 |
model = gr.Dropdown(label="Model", choices=["llama-3.1-70b-versatile", "mixtral-8x7b-32768", "gemma2-9b-it"], value="llama-3.1-70b-versatile")
|
64 |
+
with gr.Row():
|
65 |
# **Single Button for Generating Prompt and Text**
|
66 |
generate_button = gr.Button("Generate Random Prompt with LLM")
|
67 |
text_output = gr.Textbox(label="LLM Generated Text", lines=10, show_copy_button=True)
|