gokaygokay commited on
Commit
c2537ba
1 Parent(s): e0b0320
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,9 +62,9 @@ def create_interface():
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)
68
 
69
  # Updated Models based on provider
70
  def update_model_choices(provider):
 
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)
68
 
69
  # Updated Models based on provider
70
  def update_model_choices(provider):